From 33beb9c899d4c4a3d8b93e223ee88e5e76cdaf7c Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Mon, 31 Aug 2026 11:20:58 -0700 Subject: [PATCH 01/10] Improve reference render generation --- eslint.config.js | 8 + package-lock.json | 1187 +++++++++++++++++++++++++++++++++++----- package.json | 3 + script/gen-renders.mjs | 120 ++++ 4 files changed, 1175 insertions(+), 143 deletions(-) create mode 100644 script/gen-renders.mjs diff --git a/eslint.config.js b/eslint.config.js index ae82d107..951c63f2 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -28,4 +28,12 @@ export default [ "eol-last": ["error", "always"], }, }, + { + files: ["script/**/*"], + languageOptions: { + globals: { + ...globals.node, + }, + }, + }, ]; diff --git a/package-lock.json b/package-lock.json index e689368f..fc4c6c42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "imsc", - "version": "1.1.5", + "version": "2.0.0-dev.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "imsc", - "version": "1.1.5", + "version": "2.0.0-dev.1", "license": "BSD-2-Clause", "dependencies": { "tslib": "^2.6.2" @@ -25,12 +25,38 @@ "grunt-npmcopy": "latest", "grunt-sync": "latest", "jszip": "latest", + "puppeteer": "^24.43.1", "rollup": "^4.14.3", "rollup-plugin-polyfill-node": "^0.13.0", "sax": "^1.6.1", "typescript": "^5.4.5" } }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.10.1", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", @@ -115,9 +141,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz", - "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.7.tgz", + "integrity": "sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw==", "dev": true, "license": "MIT", "dependencies": { @@ -127,7 +153,7 @@ "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", - "js-yaml": "^4.3.0", + "js-yaml": "^4.3.2", "minimatch": "^3.1.5", "strip-json-comments": "^3.1.1" }, @@ -312,9 +338,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -324,6 +347,28 @@ "node": "^22.20 || ^24.12 || >=25" } }, + "node_modules/@puppeteer/browsers": { + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.13.2.tgz", + "integrity": "sha512-5EUZSUIc37H6aIXyWO0Z4y8NlF8NnjgmqeQgOGiswAU7pY0HOo16ho4+alIWmSfdZnjqBRawMsP3I5YqLSn6kw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.4.3", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.5.0", + "semver": "^7.7.4", + "tar-fs": "^3.1.1", + "yargs": "^17.7.2" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@rollup/plugin-commonjs": { "version": "29.0.3", "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-29.0.3.tgz", @@ -537,9 +582,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -554,9 +596,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -571,9 +610,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -588,9 +624,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -605,9 +638,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -622,9 +652,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -639,9 +666,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -656,9 +680,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -673,9 +694,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -690,9 +708,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -707,9 +722,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -724,9 +736,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -741,9 +750,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -834,6 +840,13 @@ "win32" ] }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", @@ -848,6 +861,17 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/node": { + "version": "26.4.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.4.0.tgz", + "integrity": "sha512-faiGnoIrLH/V8cibOMEAZ8pMw6oXqSukl29ra4mN8GdaB2ZewzeaLj+INpV5N+Z1eKWzY+IzaIZH2EIR6YZRNQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "undici-types": "~8.3.0" + } + }, "node_modules/@types/resolve": { "version": "1.20.2", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", @@ -855,6 +879,17 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -885,6 +920,16 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/ajv": { "version": "6.15.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", @@ -902,6 +947,16 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -945,6 +1000,19 @@ "node": ">=0.10.0" } }, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", @@ -952,6 +1020,21 @@ "dev": true, "license": "MIT" }, + "node_modules/b4a": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.1.tgz", + "integrity": "sha512-aiqre1Nr0B/6DgE2N5vwTc+2/oQZ4Wh1t4NznYY4E00y8LCt6NqdRv81so00oo27D8MVKTpUa/MwUUtBLXCoDw==", + "dev": true, + "license": "Apache-2.0", + "peerDependencies": { + "react-native-b4a": "*" + }, + "peerDependenciesMeta": { + "react-native-b4a": { + "optional": true + } + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -959,6 +1042,101 @@ "dev": true, "license": "MIT" }, + "node_modules/bare-events": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.9.2.tgz", + "integrity": "sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA==", + "dev": true, + "license": "Apache-2.0", + "peerDependencies": { + "bare-abort-controller": "*" + }, + "peerDependenciesMeta": { + "bare-abort-controller": { + "optional": true + } + } + }, + "node_modules/bare-fs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.1.tgz", + "integrity": "sha512-N1nnXdHZAOSstz0XiHikGS4HGMH4CnSwhqWdGQQMqqdvp4Jybm9sE3R1WVnpWVd4SFkc8ryPDBLViNLwiEqECg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bare-events": "^2.5.4", + "bare-path": "^3.0.0", + "bare-stream": "^2.6.4", + "bare-url": "^2.2.2", + "fast-fifo": "^1.3.2" + }, + "engines": { + "bare": ">=1.28.0" + }, + "peerDependencies": { + "bare-buffer": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + } + } + }, + "node_modules/bare-path": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.1.2.tgz", + "integrity": "sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/bare-stream": { + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.4.tgz", + "integrity": "sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.8.1", + "streamx": "^2.25.0", + "teex": "^1.0.1" + }, + "peerDependencies": { + "bare-abort-controller": "*", + "bare-buffer": "*", + "bare-events": "*" + }, + "peerDependenciesMeta": { + "bare-abort-controller": { + "optional": true + }, + "bare-buffer": { + "optional": true + }, + "bare-events": { + "optional": true + } + } + }, + "node_modules/bare-url": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.3.tgz", + "integrity": "sha512-3absfEzoyFosWT8v83ZcJgbTJxv+S/sI7jBfeCMlUVatSaefRmwweqBhFpMllQv+HTxs/FbbToVOw1c05NORkQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bare-path": "^3.0.0" + } + }, + "node_modules/basic-ftp": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.3.1.tgz", + "integrity": "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/brace-expansion": { "version": "1.1.18", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", @@ -983,6 +1161,16 @@ "node": ">=8" } }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -1017,6 +1205,35 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/chromium-bidi": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-14.0.0.tgz", + "integrity": "sha512-9gYlLtS6tStdRWzrtXaTMnqcM4dudNegMXJxkR0I/CXObHalYeYcAMPrL19eroNZHtJ8DQmu1E+ZNOYu/IXMXw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "mitt": "^3.0.1", + "zod": "^3.24.1" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -1075,6 +1292,33 @@ "dev": true, "license": "MIT" }, + "node_modules/cosmiconfig": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz", + "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -1090,6 +1334,16 @@ "node": ">= 8" } }, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/dateformat": { "version": "4.6.3", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz", @@ -1135,6 +1389,21 @@ "node": ">=0.10.0" } }, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -1145,6 +1414,50 @@ "node": ">=0.10.0" } }, + "node_modules/devtools-protocol": { + "version": "0.0.1608973", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1608973.tgz", + "integrity": "sha512-Tpm17fxYzt+J7VrGdc1k8YdRqS3YV7se/M6KeemEqvUbq/n7At1rWVuXMxQgpWkdwSdIEKYbU//Bve+Shm4YNQ==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, "node_modules/es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", @@ -1155,6 +1468,16 @@ "node": ">= 0.4" } }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -1168,6 +1491,28 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, "node_modules/eslint": { "version": "9.39.5", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz", @@ -1351,6 +1696,16 @@ "dev": true, "license": "MIT" }, + "node_modules/events-universal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz", + "integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bare-events": "^2.7.0" + } + }, "node_modules/exit": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", @@ -1390,6 +1745,27 @@ "dev": true, "license": "MIT" }, + "node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + }, + "engines": { + "node": ">= 10.17.0" + }, + "optionalDependencies": { + "@types/yauzl": "^2.9.1" + } + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -1397,6 +1773,13 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "dev": true, + "license": "MIT" + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -1411,6 +1794,16 @@ "dev": true, "license": "MIT" }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, "node_modules/fdir": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", @@ -1610,15 +2003,78 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/getobject": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/getobject/-/getobject-1.0.2.tgz", - "integrity": "sha512-2zblDBaFcb3rB4rF77XVnuINOE2h2k/OnqXAiy0IrTxUfV1iFp3la33oAQVY9pCpWU268WFYVt2t71hlMuLsOg==", + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-uri": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.5.tgz", + "integrity": "sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/getobject": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/getobject/-/getobject-1.0.2.tgz", + "integrity": "sha512-2zblDBaFcb3rB4rF77XVnuINOE2h2k/OnqXAiy0IrTxUfV1iFp3la33oAQVY9pCpWU268WFYVt2t71hlMuLsOg==", "dev": true, "engines": { "node": ">=10" } }, + "node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -1678,9 +2134,9 @@ } }, "node_modules/globals": { - "version": "17.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", - "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", + "version": "17.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.12.0.tgz", + "integrity": "sha512-cezEd/DTyyht9cvSSURyygXPfy04GtWO/5e6ZPvH7fCtjKz9PYOmuawphw1Ctd1f6C+5JypXfGD7ahNMXvevBA==", "dev": true, "license": "MIT", "engines": { @@ -1847,28 +2303,6 @@ "node": ">= 0.10.0" } }, - "node_modules/grunt-npmcopy/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/grunt-sync": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/grunt-sync/-/grunt-sync-0.8.2.tgz", @@ -1884,28 +2318,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/grunt-sync/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/grunt/node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -1916,28 +2328,6 @@ "sprintf-js": "~1.0.2" } }, - "node_modules/grunt/node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/grunt/node_modules/js-yaml": { "version": "3.15.2", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", @@ -2004,6 +2394,34 @@ "node": "*" } }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", @@ -2094,6 +2512,16 @@ "dev": true, "license": "MIT" }, + "node_modules/ip-address": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.0.tgz", + "integrity": "sha512-BGFsyJd5mpXp3rK6jIdADLNgpJUK1jnjzvYF8lK+VyDab9JAmqN0YOKDdP17HlgKb2+ehPgDc8EtnRLbGCAMhA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/is-absolute": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", @@ -2108,6 +2536,13 @@ "node": ">=0.10.0" } }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, "node_modules/is-core-module": { "version": "2.16.2", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz", @@ -2134,6 +2569,16 @@ "node": ">=0.10.0" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -2247,6 +2692,13 @@ "node": ">=0.10.0" } }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, "node_modules/js-yaml": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", @@ -2277,6 +2729,13 @@ "dev": true, "license": "MIT" }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -2394,6 +2853,13 @@ "node": ">= 8" } }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -2424,6 +2890,16 @@ "dev": true, "license": "MIT" }, + "node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/magic-string": { "version": "0.30.21", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", @@ -2504,6 +2980,13 @@ "node": "*" } }, + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "dev": true, + "license": "MIT" + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -2518,6 +3001,16 @@ "dev": true, "license": "MIT" }, + "node_modules/netmask": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.1.1.tgz", + "integrity": "sha512-eonl3sLUha+S1GzTPxychyhnUzKyeQkZ7jLjKrBagJgPla13F+uQ71HgpFefyHgqrjEbCPkDArxYsjY8/+gLKA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -2637,6 +3130,40 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/pac-proxy-agent": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dev": true, + "license": "MIT", + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -2672,6 +3199,25 @@ "node": ">=0.8" } }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/parse-passwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", @@ -2742,6 +3288,20 @@ "node": ">=0.10.0" } }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, "node_modules/picomatch": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", @@ -2772,6 +3332,54 @@ "dev": true, "license": "MIT" }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/proxy-agent": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true, + "license": "MIT" + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -2782,6 +3390,47 @@ "node": ">=6" } }, + "node_modules/puppeteer": { + "version": "24.43.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.43.1.tgz", + "integrity": "sha512-/FSOViCrqRdb1HDocpsM9Z1giA71gTQPUt3SpHGVRALKAy/rJr1fLFYZW9F23qPxqVxTHQnbh/5B5opJST3kAw==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.13.2", + "chromium-bidi": "14.0.0", + "cosmiconfig": "^9.0.0", + "devtools-protocol": "0.0.1608973", + "puppeteer-core": "24.43.1", + "typed-query-selector": "^2.12.2" + }, + "bin": { + "puppeteer": "lib/cjs/puppeteer/node/cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/puppeteer-core": { + "version": "24.43.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.43.1.tgz", + "integrity": "sha512-T5ScUMAsmhdNbgDR41AGESYeS6V9MSgetkSnVhhW+gXvzC42VesKCn5ld87gAZDJ6vLHL9GkRvY9WtQWSnwFbw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.13.2", + "chromium-bidi": "14.0.0", + "debug": "^4.4.3", + "devtools-protocol": "0.0.1608973", + "typed-query-selector": "^2.12.2", + "webdriver-bidi-protocol": "0.4.1", + "ws": "^8.20.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -2811,6 +3460,16 @@ "node": ">= 0.10" } }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/resolve": { "version": "1.22.12", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", @@ -2871,28 +3530,6 @@ "rimraf": "bin.js" } }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/rollup": { "version": "4.63.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.63.1.tgz", @@ -2976,6 +3613,19 @@ "node": ">=11.0.0" } }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/serialize-javascript": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-7.1.1.tgz", @@ -3016,6 +3666,17 @@ "node": ">=8" } }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, "node_modules/smob": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/smob/-/smob-1.6.2.tgz", @@ -3026,6 +3687,36 @@ "node": ">=20.0.0" } }, + "node_modules/socks": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.9.tgz", + "integrity": "sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-address": "^10.1.1", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -3054,6 +3745,18 @@ "dev": true, "license": "BSD-3-Clause" }, + "node_modules/streamx": { + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.28.1.tgz", + "integrity": "sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA==", + "dev": true, + "license": "MIT", + "dependencies": { + "events-universal": "^1.0.0", + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + } + }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -3064,6 +3767,34 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -3103,6 +3834,44 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tar-fs": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.3.tgz", + "integrity": "sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0" + } + }, + "node_modules/tar-stream": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.1.tgz", + "integrity": "sha512-nqsEO8zLZJvrOMdEwkA0QdCLFbetHMn95Zqu4fKwX+hkaTWJPZZOrxx/PwtxoK0MMGQmBQNRW3CPs8IFYQz4cQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "b4a": "^1.6.4", + "bare-fs": "^4.5.5", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, + "node_modules/teex": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/teex/-/teex-1.0.1.tgz", + "integrity": "sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "streamx": "^2.12.5" + } + }, "node_modules/terser": { "version": "5.51.2", "resolved": "https://registry.npmjs.org/terser/-/terser-5.51.2.tgz", @@ -3122,6 +3891,16 @@ "node": ">=10" } }, + "node_modules/text-decoder": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.7.tgz", + "integrity": "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.4" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -3154,6 +3933,13 @@ "node": ">= 0.8.0" } }, + "node_modules/typed-query-selector": { + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.2.tgz", + "integrity": "sha512-EOPFbyIub4ngnEdqi2yOcNeDLaX/0jcE1JoAXQDDMIthap7FoN795lc/SHfIq2d416VufXpM8z/lD+WRm2gfOQ==", + "dev": true, + "license": "MIT" + }, "node_modules/typescript": { "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", @@ -3192,6 +3978,14 @@ "node": "*" } }, + "node_modules/undici-types": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", + "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", + "dev": true, + "license": "MIT", + "optional": true + }, "node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -3229,6 +4023,13 @@ "node": ">= 10.13.0" } }, + "node_modules/webdriver-bidi-protocol": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.4.1.tgz", + "integrity": "sha512-ARrjNjtWRRs2w4Tk7nqrf2gBI0QXWuOmMCx2hU+1jUt6d00MjMxURrhxhGbrsoiZKJrhTSTzbIrc554iKI10qw==", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -3255,6 +4056,24 @@ "node": ">=0.10.0" } }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -3262,6 +4081,78 @@ "dev": true, "license": "ISC" }, + "node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -3274,6 +4165,16 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/zod": { + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } } } diff --git a/package.json b/package.json index ceb31f73..6858bddd 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,8 @@ "scripts": { "prepublishOnly": "grunt build:release", "dev": "npx http-server build/public_html", + "gen-imsc1": "node script/gen-renders.mjs imsc-tests/imsc1 build/renders-imsc1.zip --browser=firefox ", + "install:firefox": "puppeteer browsers install firefox", "lint": "eslint .", "fix": "eslint --fix src", "build": "grunt build", @@ -70,6 +72,7 @@ "grunt-npmcopy": "latest", "grunt-sync": "latest", "jszip": "latest", + "puppeteer": "^24.43.1", "rollup": "^4.14.3", "rollup-plugin-polyfill-node": "^0.13.0", "sax": "^1.6.1", diff --git a/script/gen-renders.mjs b/script/gen-renders.mjs new file mode 100644 index 00000000..b1e8a640 --- /dev/null +++ b/script/gen-renders.mjs @@ -0,0 +1,120 @@ +#!/usr/bin/env node + +/* + * Headless equivalent of build/public_html/gen-renders.html. + * + * Drives it with Puppeteer against a fake origin whose requests are + * intercepted and answered straight from build/public_html on disk + * (no HTTP server needed), calls generateRenders() + * in-page, and intercepts the FileSaver.js saveAs() call to write the + * resulting renders.zip to disk instead of triggering a browser download. + * + * Usage: + * node script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] + */ + +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import puppeteer from "puppeteer"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const PUBLIC_DIR = path.resolve(__dirname, "..", "build", "public_html"); + +const MIME_TYPES = { + ".html": "text/html", + ".js": "text/javascript", + ".css": "text/css", + ".json": "application/json", + ".ttml": "application/xml", + ".xml": "application/xml", + ".png": "image/png", +}; + +// Answers every request against a fake origin straight from build/public_html, +// so no real HTTP server needs to be listening. +async function serveFromDisk(page, rootDir) { + await page.setRequestInterception(true); + + page.on("request", (request) => { + const urlPath = decodeURIComponent(new URL(request.url()).pathname); + const filePath = path.join(rootDir, urlPath); + + if (!filePath.startsWith(rootDir)) { + request.respond({ status: 403 }); + return; + } + + fs.readFile(filePath, (err, data) => { + if (err) { + request.respond({ status: 404 }); + return; + } + + const ext = path.extname(filePath).toLowerCase(); + request.respond({ + status: 200, + contentType: MIME_TYPES[ext] || "application/octet-stream", + body: data, + }); + }); + }); +} + +async function main() { + const args = process.argv.slice(2).filter((a) => !a.startsWith("--")); + const reffilesRoot = args[0] || "imsc-tests/imsc1"; + const outFile = path.resolve(args[1] || "renders.zip"); + + const browserArg = process.argv.find((a) => a.startsWith("--browser=")); + const browserProduct = browserArg ? browserArg.split("=")[1] : "chrome"; + + if (!fs.existsSync(PUBLIC_DIR)) { + throw new Error(`${PUBLIC_DIR} does not exist. Run "grunt build" first.`); + } + + const browser = await puppeteer.launch({ + browser: browserProduct, + headless: true, + }); + + try { + const page = await browser.newPage(); + + page.on("console", (msg) => console.log(`[page] ${msg.text()}`)); + page.on("pageerror", (err) => console.error(`[page error] ${err}`)); + + await serveFromDisk(page, PUBLIC_DIR); + + await page.goto("http://gen-renders.local/gen-renders.html", { waitUntil: "load" }); + + console.log(`Generating renders for "${reffilesRoot}"...`); + + const base64Zip = await page.evaluate((root) => { + return new Promise((resolve, reject) => { + // saveAs() from FileSaver.js normally triggers a browser + // download; intercept it to hand the Blob back to Node instead. + window.saveAs = function (blob) { + const reader = new FileReader(); + reader.onload = () => resolve(reader.result.split(",")[1]); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }; + + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + generateRenders(root).catch(reject); + }); + }, reffilesRoot); + + fs.writeFileSync(outFile, Buffer.from(base64Zip, "base64")); + + console.log(`Wrote ${outFile}`); + } finally { + await browser.close(); + } +} + +main().catch((err) => { + console.error(err); + process.exitCode = 1; +}); From 8db86cf3e6f040ef7287013013e31cb657af851a Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 14:49:44 -0700 Subject: [PATCH 02/10] Bring ref generation to ES6 --- script/gen-renders.mjs | 23 ++-- src/test/webapp/gen-renders.html | 5 +- src/test/webapp/js/gen-renders.js | 211 +++++++++++++++++------------- src/test/webapp/js/reffiles.js | 103 --------------- 4 files changed, 130 insertions(+), 212 deletions(-) delete mode 100644 src/test/webapp/js/reffiles.js diff --git a/script/gen-renders.mjs b/script/gen-renders.mjs index b1e8a640..d7de56c4 100644 --- a/script/gen-renders.mjs +++ b/script/gen-renders.mjs @@ -6,8 +6,7 @@ * Drives it with Puppeteer against a fake origin whose requests are * intercepted and answered straight from build/public_html on disk * (no HTTP server needed), calls generateRenders() - * in-page, and intercepts the FileSaver.js saveAs() call to write the - * resulting renders.zip to disk instead of triggering a browser download. + * in-page to get the renders.zip Blob directly, and writes it to disk. * * Usage: * node script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] @@ -90,19 +89,15 @@ async function main() { console.log(`Generating renders for "${reffilesRoot}"...`); - const base64Zip = await page.evaluate((root) => { + const base64Zip = await page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + const blob = await generateRenders(root); + return new Promise((resolve, reject) => { - // saveAs() from FileSaver.js normally triggers a browser - // download; intercept it to hand the Blob back to Node instead. - window.saveAs = function (blob) { - const reader = new FileReader(); - reader.onload = () => resolve(reader.result.split(",")[1]); - reader.onerror = () => reject(reader.error); - reader.readAsDataURL(blob); - }; - - // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context - generateRenders(root).catch(reject); + const reader = new FileReader(); + reader.onload = () => resolve(reader.result.split(",")[1]); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); }); }, reffilesRoot); diff --git a/src/test/webapp/gen-renders.html b/src/test/webapp/gen-renders.html index 76ad260f..e0268ab6 100644 --- a/src/test/webapp/gen-renders.html +++ b/src/test/webapp/gen-renders.html @@ -10,7 +10,6 @@ - @@ -19,9 +18,9 @@
- -
diff --git a/src/test/webapp/js/gen-renders.js b/src/test/webapp/js/gen-renders.js index e25a803c..4db592fd 100644 --- a/src/test/webapp/js/gen-renders.js +++ b/src/test/webapp/js/gen-renders.js @@ -44,84 +44,116 @@ var errorHandler = { } }; -/* */ +async function asyncLoadFile(url) { -function generateRenders(reffiles_root) { + var response = await fetch(url); + + if (!response.ok) { + throw { + status: response.status, + statusText: response.statusText + }; + } + + return response.text(); +} + +function getTestListPath(reffiles_root) { + return reffiles_root + "/tests.json"; +} + +function getReferenceFilePath(reffiles_root, reffile_path) { + return reffiles_root + "/ttml/" + reffile_path; +} + +function getReferenceFileDirectory(reffiles_root, reffile_path) { + return reffiles_root + "/ttml/" + reffile_path.substring(0, Math.max(reffile_path.lastIndexOf("/"), reffile_path.lastIndexOf("\\")) + 1); +} + +function getTestName(reffile_path, renderer_params) { + return reffile_path.split('\\').pop().split('/').pop().split(".")[0]; +} + +function filenameFromOffset(offset) { + return offset.toFixed(6).toString(); +} + +async function generateRenders(reffiles_root) { var zip = new JSZip(); - + var renders_dir = zip.folder('generated'); var pngs_dir = zip.folder('png'); - return asyncLoadFile(getTestListPath(reffiles_root)) - .then(function (contents) { - finfos = JSON.parse(contents); + var contents = await asyncLoadFile(getTestListPath(reffiles_root)); - var p = []; + finfos = JSON.parse(contents); - for (var i in finfos) { + var p = []; - p.push(asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfos[i])); + for (var i in finfos) { - } + p.push(asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfos[i])); - return Promise.all(p); - }) - .then(function (output) { + } - var manifest = {}; + var output = await Promise.all(p); - for (var j in output) { - manifest[output[j].name] = output[j].events; - } - - renders_dir.file("file-list.json", JSON.stringify(manifest, customReplace, 2)); + var manifest = {}; - return zip.generateAsync({type: "blob"}); - }) - .then(function (zipfile) { - return saveAs(zipfile, "renders.zip"); - }); + for (var j in output) { + manifest[output[j].name] = output[j].events; + } + renders_dir.file("file-list.json", JSON.stringify(manifest, customReplace, 2)); + + return await zip.generateAsync({type: "blob"}); } -function asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfo) { +async function generateAndDownloadRenders(reffiles_root) { + + let zipfile = await generateRenders(reffiles_root); + + return saveAs(zipfile, "renders.zip"); + +} + + +async function asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfo) { var test_name = finfo.name || getTestName(finfo.path, finfo.params || {}); var test_renders_dir = renders_dir.folder(test_name); var test_pngs_dir = pngs_dir.folder(test_name); - return asyncLoadFile(getReferenceFilePath(reffiles_root, finfo.path)) - .then(function (contents) { - var doc = imsc.fromXML(contents.replace(/\r\n/g, '\n'), errorHandler); + var contents = await asyncLoadFile(getReferenceFilePath(reffiles_root, finfo.path)); + + var doc = imsc.fromXML(contents.replace(/\r\n/g, '\n'), errorHandler); + + test_renders_dir.file("doc.json", + JSON.stringify( + doc, + customReplace, + 2 + ) + ); - test_renders_dir.file("doc.json", - JSON.stringify( - doc, - customReplace, - 2 - ) - ); + var events = doc.getMediaTimeEvents(); - var events = doc.getMediaTimeEvents(); + var p = []; - var p = []; + for (var i in events) { - for (var i in events) { + p.push(asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, events[i], finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path))); - p.push(asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, events[i], finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path))); + } - } + var processedEvents = await Promise.all(p); - return Promise.all(p); - }) - .then(function (events) { - return { - 'name': test_name, - 'events': events - }; - }); + return { + 'name': test_name, + 'events': processedEvents + }; } function customReplace(k, v) { @@ -130,7 +162,7 @@ function customReplace(k, v) { } -function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, params, reffile_dir) { +async function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, params, reffile_dir) { var name = filenameFromOffset(offset); @@ -184,31 +216,33 @@ function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, params, var imgs = []; var imgr = function (uri, img) { - var p = new Promise(function (resolve) { + var p = (async function () { - var png = new Image(); + var url = await new Promise(function (resolve) { - png.onload = function () { - var canvas = document.createElement('canvas'); - canvas.width = this.naturalWidth; - canvas.height = this.naturalHeight; + var png = new Image(); - var ctx = canvas.getContext('2d'); - - ctx.drawImage(this, 0, 0); + png.onload = function () { + var canvas = document.createElement('canvas'); + canvas.width = this.naturalWidth; + canvas.height = this.naturalHeight; + + var ctx = canvas.getContext('2d'); - // Get raw image data + ctx.drawImage(this, 0, 0); - resolve(canvas.toDataURL('image/png')); - }; + // Get raw image data - png.src = reffile_dir + uri; + resolve(canvas.toDataURL('image/png')); + }; - }).then(function (url) { + png.src = reffile_dir + uri; + + }); img.src = url; - }); + })(); imgs.push(p); @@ -226,49 +260,42 @@ function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, params, ); - return Promise.all(imgs).then( - function () { - return new Promise( - function (resolve) { - - /* save the HTML */ + await Promise.all(imgs); - var html_dir = test_renders_dir.folder('html'); + /* save the HTML */ - html_dir.file(name + ".html", rdiv.innerHTML.replace(/>\n<")); + var html_dir = test_renders_dir.folder('html'); - /* create PNG render */ + html_dir.file(name + ".html", rdiv.innerHTML.replace(/>\n<")); - var svgser = (new XMLSerializer).serializeToString(svg); + /* create PNG render */ - var canvas = document.createElement("canvas"); - - var ctx = canvas.getContext('2d'); - ctx.canvas.height = exp_height; - ctx.canvas.width = exp_width; + var svgser = (new XMLSerializer).serializeToString(svg); - var url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); + var canvas = document.createElement("canvas"); - var img = new Image(); - img.onload = function () { - ctx.drawImage(img, 0, 0); + var ctx = canvas.getContext('2d'); + ctx.canvas.height = exp_height; + ctx.canvas.width = exp_width; - var data = canvas.toDataURL("image/png"); + var url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); - test_pngs_dir.file(name + ".png", data.substr(data.indexOf(',') + 1), {base64: true}); + return new Promise(function (resolve) { - resolve(name); - }; + var img = new Image(); + img.onload = function () { + ctx.drawImage(img, 0, 0); - img.src = url; + var data = canvas.toDataURL("image/png"); - } - ); - } - ); + test_pngs_dir.file(name + ".png", data.substr(data.indexOf(',') + 1), {base64: true}); + resolve(name); + }; + img.src = url; + }); } diff --git a/src/test/webapp/js/reffiles.js b/src/test/webapp/js/reffiles.js deleted file mode 100644 index d916167c..00000000 --- a/src/test/webapp/js/reffiles.js +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) 2016, Pierre-Anthony Lemieux - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -var genfiles_root = "generated"; - -function asyncLoadFile(url) { - - return new Promise(function (resolve, reject) { - - var r = new XMLHttpRequest(); - - r.open('GET', url); - - r.onload = function () { - if (this.status >= 200 && this.status < 300) { - - resolve(this.response); - - } else { - - reject({ - status: this.status, - statusText: this.statusText - }); - } - }; - - r.onerror = function () { - - reject({ - status: this.status, - statusText: this.statusText - }); - - }; - - r.send(); - - }); -} - -function getTestListPath(reffiles_root) { - return reffiles_root + "/tests.json"; -} - -function getReferenceFilePath(reffiles_root, reffile_path) { - return reffiles_root + "/ttml/" + reffile_path; -} - -function getReferenceFileDirectory(reffiles_root, reffile_path) { - return reffiles_root + "/ttml/" + reffile_path.substring(0, Math.max(reffile_path.lastIndexOf("/"), reffile_path.lastIndexOf("\\")) + 1); -} - -function getTestName(reffile_path, renderer_params) { - return reffile_path.split('\\').pop().split('/').pop().split(".")[0]; -} - -function getTestOutputDirectory(test_name) { - return genfiles_root + "/" + test_name; -} - -function filenameFromOffset(offset) { - return offset.toFixed(6).toString(); -} - -function getReferencePNGPath(reffiles_root, test_name, offset) { - return reffiles_root + "/png/" + test_name + "/" + filenameFromOffset(offset) + ".png"; -} - -function getReferenceDocPath(test_name) { - return getTestOutputDirectory(test_name) + "/doc.json"; -} - -function getReferenceISDPath(test_name, offset) { - return getTestOutputDirectory(test_name) + "/isd/" + filenameFromOffset(offset) + ".json"; -} - -function getReferenceHTMLPath(test_name, offset) { - return getTestOutputDirectory(test_name) + "/html/" + filenameFromOffset(offset) + ".html"; -} \ No newline at end of file From aff3b22ba3b4754914ef075339f5ed2951d7f734 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 16:54:19 -0700 Subject: [PATCH 03/10] Added reference file generation --- package.json | 2 + script/gen-reference-files.mjs | 58 + script/gen-renders.mjs | 94 +- script/lib/gen-renders-page.mjs | 85 + .../imsc1/ActiveArea001/doc.json | 280 + .../imsc1/ActiveArea001/html/0.000000.html | 35 + .../imsc1/ActiveArea001/html/6.000000.html | 8 + .../imsc1/ActiveArea001/isd/0.000000.json | 561 ++ .../imsc1/ActiveArea001/isd/6.000000.json | 189 + .../imsc1/Animation001/doc.json | 124 + .../imsc1/Animation001/html/0.000000.html | 14 + .../imsc1/Animation001/html/10.000000.html | 4 + .../imsc1/Animation001/html/20.000000.html | 4 + .../imsc1/Animation001/html/5.000000.html | 14 + .../imsc1/Animation001/isd/0.000000.json | 190 + .../imsc1/Animation001/isd/10.000000.json | 66 + .../imsc1/Animation001/isd/20.000000.json | 66 + .../imsc1/Animation001/isd/5.000000.json | 190 + .../imsc1/Animation002/doc.json | 124 + .../imsc1/Animation002/html/0.000000.html | 14 + .../imsc1/Animation002/html/10.000000.html | 4 + .../imsc1/Animation002/html/20.000000.html | 4 + .../imsc1/Animation002/html/5.000000.html | 14 + .../imsc1/Animation002/isd/0.000000.json | 190 + .../imsc1/Animation002/isd/10.000000.json | 66 + .../imsc1/Animation002/isd/20.000000.json | 66 + .../imsc1/Animation002/isd/5.000000.json | 190 + .../imsc1/Animation003/doc.json | 108 + .../imsc1/Animation003/html/0.000000.html | 4 + .../imsc1/Animation003/html/10.000000.html | 4 + .../imsc1/Animation003/html/20.000000.html | 4 + .../imsc1/Animation003/html/5.000000.html | 14 + .../imsc1/Animation003/isd/0.000000.json | 66 + .../imsc1/Animation003/isd/10.000000.json | 66 + .../imsc1/Animation003/isd/20.000000.json | 66 + .../imsc1/Animation003/isd/5.000000.json | 190 + .../imsc1/Animation004/doc.json | 112 + .../imsc1/Animation004/html/0.000000.html | 14 + .../imsc1/Animation004/html/10.000000.html | 4 + .../imsc1/Animation004/html/20.000000.html | 4 + .../imsc1/Animation004/html/5.000000.html | 14 + .../imsc1/Animation004/isd/0.000000.json | 190 + .../imsc1/Animation004/isd/10.000000.json | 66 + .../imsc1/Animation004/isd/20.000000.json | 66 + .../imsc1/Animation004/isd/5.000000.json | 190 + .../imsc1/Animation007/doc.json | 108 + .../imsc1/Animation007/html/0.000000.html | 14 + .../imsc1/Animation007/html/10.000000.html | 4 + .../imsc1/Animation007/html/20.000000.html | 4 + .../imsc1/Animation007/html/5.000000.html | 14 + .../imsc1/Animation007/isd/0.000000.json | 190 + .../imsc1/Animation007/isd/10.000000.json | 66 + .../imsc1/Animation007/isd/20.000000.json | 66 + .../imsc1/Animation007/isd/5.000000.json | 190 + .../imsc1/Animation008/doc.json | 134 + .../imsc1/Animation008/html/0.000000.html | 17 + .../imsc1/Animation008/html/10.000000.html | 4 + .../imsc1/Animation008/html/20.000000.html | 4 + .../imsc1/Animation008/html/5.000000.html | 17 + .../imsc1/Animation008/isd/0.000000.json | 243 + .../imsc1/Animation008/isd/10.000000.json | 66 + .../imsc1/Animation008/isd/20.000000.json | 66 + .../imsc1/Animation008/isd/5.000000.json | 246 + .../imsc1/Animation012/doc.json | 141 + .../imsc1/Animation012/html/0.000000.html | 14 + .../imsc1/Animation012/html/10.000000.html | 14 + .../imsc1/Animation012/html/16.000000.html | 14 + .../imsc1/Animation012/html/20.000000.html | 4 + .../imsc1/Animation012/html/5.000000.html | 14 + .../imsc1/Animation012/isd/0.000000.json | 190 + .../imsc1/Animation012/isd/10.000000.json | 190 + .../imsc1/Animation012/isd/16.000000.json | 190 + .../imsc1/Animation012/isd/20.000000.json | 66 + .../imsc1/Animation012/isd/5.000000.json | 190 + .../imsc1/Animation013/doc.json | 134 + .../imsc1/Animation013/html/0.000000.html | 14 + .../imsc1/Animation013/html/10.000000.html | 4 + .../imsc1/Animation013/html/2.000000.html | 14 + .../imsc1/Animation013/html/20.000000.html | 4 + .../imsc1/Animation013/html/4.000000.html | 14 + .../imsc1/Animation013/html/6.000000.html | 14 + .../imsc1/Animation013/isd/0.000000.json | 190 + .../imsc1/Animation013/isd/10.000000.json | 66 + .../imsc1/Animation013/isd/2.000000.json | 190 + .../imsc1/Animation013/isd/20.000000.json | 66 + .../imsc1/Animation013/isd/4.000000.json | 190 + .../imsc1/Animation013/isd/6.000000.json | 190 + .../imsc1/Animation014/doc.json | 125 + .../imsc1/Animation014/html/0.000000.html | 14 + .../imsc1/Animation014/html/10.000000.html | 4 + .../imsc1/Animation014/html/20.000000.html | 4 + .../imsc1/Animation014/html/5.000000.html | 14 + .../imsc1/Animation014/isd/0.000000.json | 190 + .../imsc1/Animation014/isd/10.000000.json | 66 + .../imsc1/Animation014/isd/20.000000.json | 66 + .../imsc1/Animation014/isd/5.000000.json | 201 + .../imsc1/Animation015/doc.json | 108 + .../imsc1/Animation015/html/0.000000.html | 14 + .../imsc1/Animation015/html/10.000000.html | 4 + .../imsc1/Animation015/html/3.000000.html | 14 + .../imsc1/Animation015/html/8.000000.html | 14 + .../imsc1/Animation015/isd/0.000000.json | 190 + .../imsc1/Animation015/isd/10.000000.json | 66 + .../imsc1/Animation015/isd/3.000000.json | 190 + .../imsc1/Animation015/isd/8.000000.json | 190 + .../imsc1/Animation016/doc.json | 108 + .../imsc1/Animation016/html/0.000000.html | 13 + .../imsc1/Animation016/html/10.000000.html | 4 + .../imsc1/Animation016/html/3.000000.html | 19 + .../imsc1/Animation016/html/8.000000.html | 13 + .../imsc1/Animation016/isd/0.000000.json | 190 + .../imsc1/Animation016/isd/10.000000.json | 66 + .../imsc1/Animation016/isd/3.000000.json | 190 + .../imsc1/Animation016/isd/8.000000.json | 190 + .../imsc1/Animation017/doc.json | 229 + .../imsc1/Animation017/html/0.000000.html | 24 + .../imsc1/Animation017/html/10.000000.html | 2 + .../imsc1/Animation017/html/5.000000.html | 24 + .../imsc1/Animation017/isd/0.000000.json | 376 ++ .../imsc1/Animation017/isd/10.000000.json | 5 + .../imsc1/Animation017/isd/5.000000.json | 376 ++ .../imsc1/Animation018/doc.json | 111 + .../imsc1/Animation018/html/0.000000.html | 14 + .../imsc1/Animation018/html/10.000000.html | 4 + .../imsc1/Animation018/html/5.000000.html | 14 + .../imsc1/Animation018/isd/0.000000.json | 190 + .../imsc1/Animation018/isd/10.000000.json | 66 + .../imsc1/Animation018/isd/5.000000.json | 190 + .../imsc1/BackgroundColor001/doc.json | 102 + .../BackgroundColor001/html/0.000000.html | 13 + .../BackgroundColor001/html/10.000000.html | 4 + .../BackgroundColor001/isd/0.000000.json | 190 + .../BackgroundColor001/isd/10.000000.json | 66 + .../imsc1/BackgroundColor002/doc.json | 102 + .../BackgroundColor002/html/0.000000.html | 13 + .../BackgroundColor002/html/10.000000.html | 4 + .../BackgroundColor002/isd/0.000000.json | 190 + .../BackgroundColor002/isd/10.000000.json | 66 + .../imsc1/BackgroundColor003/doc.json | 121 + .../BackgroundColor003/html/0.000000.html | 16 + .../BackgroundColor003/html/10.000000.html | 4 + .../BackgroundColor003/isd/0.000000.json | 238 + .../BackgroundColor003/isd/10.000000.json | 66 + .../imsc1/BackgroundColor004/doc.json | 102 + .../BackgroundColor004/html/0.000000.html | 13 + .../BackgroundColor004/html/10.000000.html | 4 + .../BackgroundColor004/isd/0.000000.json | 190 + .../BackgroundColor004/isd/10.000000.json | 66 + .../imsc1/BackgroundColor005/doc.json | 129 + .../BackgroundColor005/html/0.000000.html | 17 + .../BackgroundColor005/html/10.000000.html | 4 + .../BackgroundColor005/isd/0.000000.json | 243 + .../BackgroundColor005/isd/10.000000.json | 66 + .../imsc1/BackgroundColor006/doc.json | 102 + .../BackgroundColor006/html/0.000000.html | 13 + .../BackgroundColor006/html/10.000000.html | 4 + .../BackgroundColor006/isd/0.000000.json | 190 + .../BackgroundColor006/isd/10.000000.json | 66 + .../imsc1/BackgroundColor007/doc.json | 102 + .../BackgroundColor007/html/0.000000.html | 13 + .../BackgroundColor007/html/10.000000.html | 4 + .../BackgroundColor007/isd/0.000000.json | 190 + .../BackgroundColor007/isd/10.000000.json | 66 + .../imsc1/BackgroundColor008/doc.json | 102 + .../BackgroundColor008/html/0.000000.html | 13 + .../BackgroundColor008/html/10.000000.html | 4 + .../BackgroundColor008/isd/0.000000.json | 190 + .../BackgroundColor008/isd/10.000000.json | 66 + .../imsc1/BackgroundColor009/doc.json | 102 + .../BackgroundColor009/html/0.000000.html | 13 + .../BackgroundColor009/html/10.000000.html | 4 + .../BackgroundColor009/isd/0.000000.json | 190 + .../BackgroundColor009/isd/10.000000.json | 66 + .../imsc1/BackgroundColor010/doc.json | 759 +++ .../BackgroundColor010/html/0.000000.html | 13 + .../BackgroundColor010/html/1.000000.html | 13 + .../BackgroundColor010/html/10.000000.html | 13 + .../BackgroundColor010/html/11.000000.html | 13 + .../BackgroundColor010/html/12.000000.html | 13 + .../BackgroundColor010/html/13.000000.html | 13 + .../BackgroundColor010/html/14.000000.html | 13 + .../BackgroundColor010/html/15.000000.html | 13 + .../BackgroundColor010/html/16.000000.html | 13 + .../BackgroundColor010/html/17.000000.html | 13 + .../BackgroundColor010/html/18.000000.html | 13 + .../BackgroundColor010/html/19.000000.html | 13 + .../BackgroundColor010/html/2.000000.html | 13 + .../BackgroundColor010/html/20.000000.html | 13 + .../BackgroundColor010/html/21.000000.html | 13 + .../BackgroundColor010/html/22.000000.html | 13 + .../BackgroundColor010/html/23.000000.html | 4 + .../BackgroundColor010/html/3.000000.html | 13 + .../BackgroundColor010/html/4.000000.html | 13 + .../BackgroundColor010/html/5.000000.html | 13 + .../BackgroundColor010/html/6.000000.html | 13 + .../BackgroundColor010/html/7.000000.html | 13 + .../BackgroundColor010/html/8.000000.html | 13 + .../BackgroundColor010/html/9.000000.html | 13 + .../BackgroundColor010/isd/0.000000.json | 190 + .../BackgroundColor010/isd/1.000000.json | 190 + .../BackgroundColor010/isd/10.000000.json | 190 + .../BackgroundColor010/isd/11.000000.json | 190 + .../BackgroundColor010/isd/12.000000.json | 190 + .../BackgroundColor010/isd/13.000000.json | 190 + .../BackgroundColor010/isd/14.000000.json | 190 + .../BackgroundColor010/isd/15.000000.json | 190 + .../BackgroundColor010/isd/16.000000.json | 190 + .../BackgroundColor010/isd/17.000000.json | 190 + .../BackgroundColor010/isd/18.000000.json | 190 + .../BackgroundColor010/isd/19.000000.json | 190 + .../BackgroundColor010/isd/2.000000.json | 190 + .../BackgroundColor010/isd/20.000000.json | 190 + .../BackgroundColor010/isd/21.000000.json | 190 + .../BackgroundColor010/isd/22.000000.json | 190 + .../BackgroundColor010/isd/23.000000.json | 66 + .../BackgroundColor010/isd/3.000000.json | 190 + .../BackgroundColor010/isd/4.000000.json | 190 + .../BackgroundColor010/isd/5.000000.json | 190 + .../BackgroundColor010/isd/6.000000.json | 190 + .../BackgroundColor010/isd/7.000000.json | 190 + .../BackgroundColor010/isd/8.000000.json | 190 + .../BackgroundColor010/isd/9.000000.json | 190 + .../imsc1/BasicTimeContainment001/doc.json | 138 + .../html/0.000000.html | 19 + .../html/10.000000.html | 4 + .../html/5.000000.html | 13 + .../BasicTimeContainment001/isd/0.000000.json | 286 + .../isd/10.000000.json | 66 + .../BasicTimeContainment001/isd/5.000000.json | 190 + .../imsc1/BasicTimeContainment002/doc.json | 160 + .../html/0.000000.html | 19 + .../html/10.000000.html | 14 + .../html/20.000000.html | 4 + .../html/5.000000.html | 13 + .../BasicTimeContainment002/isd/0.000000.json | 286 + .../isd/10.000000.json | 190 + .../isd/20.000000.json | 66 + .../BasicTimeContainment002/isd/5.000000.json | 190 + .../imsc1/BasicTimeContainment003/doc.json | 161 + .../html/0.000000.html | 4 + .../html/10.000000.html | 4 + .../html/15.000000.html | 4 + .../html/20.000000.html | 4 + .../html/5.000000.html | 14 + .../BasicTimeContainment003/isd/0.000000.json | 66 + .../isd/10.000000.json | 66 + .../isd/15.000000.json | 66 + .../isd/20.000000.json | 66 + .../BasicTimeContainment003/isd/5.000000.json | 190 + .../imsc1/BasicTimeContainment004/doc.json | 161 + .../html/0.000000.html | 4 + .../html/10.000000.html | 4 + .../html/15.000000.html | 4 + .../html/20.000000.html | 4 + .../html/5.000000.html | 14 + .../BasicTimeContainment004/isd/0.000000.json | 66 + .../isd/10.000000.json | 66 + .../isd/15.000000.json | 66 + .../isd/20.000000.json | 66 + .../BasicTimeContainment004/isd/5.000000.json | 190 + .../imsc1/BasicTiming001/doc.json | 113 + .../imsc1/BasicTiming001/html/0.000000.html | 4 + .../imsc1/BasicTiming001/html/10.000000.html | 17 + .../imsc1/BasicTiming001/html/20.000000.html | 4 + .../imsc1/BasicTiming001/isd/0.000000.json | 66 + .../imsc1/BasicTiming001/isd/10.000000.json | 243 + .../imsc1/BasicTiming001/isd/20.000000.json | 66 + .../imsc1/BasicTiming002/doc.json | 113 + .../imsc1/BasicTiming002/html/0.000000.html | 4 + .../imsc1/BasicTiming002/html/10.000000.html | 17 + .../imsc1/BasicTiming002/html/20.000000.html | 4 + .../imsc1/BasicTiming002/isd/0.000000.json | 66 + .../imsc1/BasicTiming002/isd/10.000000.json | 243 + .../imsc1/BasicTiming002/isd/20.000000.json | 66 + .../imsc1/BasicTiming003/doc.json | 113 + .../imsc1/BasicTiming003/html/0.000000.html | 4 + .../imsc1/BasicTiming003/html/10.000000.html | 17 + .../imsc1/BasicTiming003/html/20.000000.html | 4 + .../imsc1/BasicTiming003/isd/0.000000.json | 66 + .../imsc1/BasicTiming003/isd/10.000000.json | 243 + .../imsc1/BasicTiming003/isd/20.000000.json | 66 + .../imsc1/BasicTiming005/doc.json | 277 + .../imsc1/BasicTiming005/html/0.000000.html | 17 + .../imsc1/BasicTiming005/html/1.000000.html | 17 + .../imsc1/BasicTiming005/html/10.000000.html | 17 + .../imsc1/BasicTiming005/html/11.000000.html | 17 + .../imsc1/BasicTiming005/html/12.000000.html | 17 + .../imsc1/BasicTiming005/html/13.000000.html | 17 + .../imsc1/BasicTiming005/html/14.000000.html | 17 + .../imsc1/BasicTiming005/html/15.000000.html | 4 + .../imsc1/BasicTiming005/html/2.000000.html | 17 + .../imsc1/BasicTiming005/html/3.000000.html | 17 + .../imsc1/BasicTiming005/html/4.000000.html | 17 + .../imsc1/BasicTiming005/html/5.000000.html | 17 + .../imsc1/BasicTiming005/html/6.000000.html | 17 + .../imsc1/BasicTiming005/html/7.000000.html | 17 + .../imsc1/BasicTiming005/html/8.000000.html | 17 + .../imsc1/BasicTiming005/html/9.000000.html | 17 + .../imsc1/BasicTiming005/isd/0.000000.json | 244 + .../imsc1/BasicTiming005/isd/1.000000.json | 244 + .../imsc1/BasicTiming005/isd/10.000000.json | 244 + .../imsc1/BasicTiming005/isd/11.000000.json | 244 + .../imsc1/BasicTiming005/isd/12.000000.json | 244 + .../imsc1/BasicTiming005/isd/13.000000.json | 244 + .../imsc1/BasicTiming005/isd/14.000000.json | 244 + .../imsc1/BasicTiming005/isd/15.000000.json | 67 + .../imsc1/BasicTiming005/isd/2.000000.json | 244 + .../imsc1/BasicTiming005/isd/3.000000.json | 244 + .../imsc1/BasicTiming005/isd/4.000000.json | 244 + .../imsc1/BasicTiming005/isd/5.000000.json | 244 + .../imsc1/BasicTiming005/isd/6.000000.json | 244 + .../imsc1/BasicTiming005/isd/7.000000.json | 244 + .../imsc1/BasicTiming005/isd/8.000000.json | 244 + .../imsc1/BasicTiming005/isd/9.000000.json | 244 + .../imsc1/BasicTiming006/doc.json | 112 + .../imsc1/BasicTiming006/html/0.000000.html | 19 + .../imsc1/BasicTiming006/html/15.000000.html | 4 + .../imsc1/BasicTiming006/isd/0.000000.json | 243 + .../imsc1/BasicTiming006/isd/15.000000.json | 66 + .../imsc1/BasicTiming007/doc.json | 118 + .../imsc1/BasicTiming007/html/0.000000.html | 4 + .../imsc1/BasicTiming007/html/15.000000.html | 4 + .../imsc1/BasicTiming007/html/20.000000.html | 4 + .../imsc1/BasicTiming007/html/5.000000.html | 14 + .../imsc1/BasicTiming007/isd/0.000000.json | 66 + .../imsc1/BasicTiming007/isd/15.000000.json | 66 + .../imsc1/BasicTiming007/isd/20.000000.json | 66 + .../imsc1/BasicTiming007/isd/5.000000.json | 190 + .../imsc1/BasicTiming008/doc.json | 395 ++ .../imsc1/BasicTiming008/html/0.000000.html | 4 + .../imsc1/BasicTiming008/html/1.000000.html | 17 + .../imsc1/BasicTiming008/html/15.000000.html | 4 + .../imsc1/BasicTiming008/html/2.000000.html | 24 + .../imsc1/BasicTiming008/html/21.000000.html | 4 + .../imsc1/BasicTiming008/html/22.000000.html | 4 + .../imsc1/BasicTiming008/html/23.000000.html | 4 + .../imsc1/BasicTiming008/html/24.000000.html | 4 + .../imsc1/BasicTiming008/html/25.000000.html | 4 + .../imsc1/BasicTiming008/html/26.000000.html | 4 + .../imsc1/BasicTiming008/html/3.000000.html | 31 + .../imsc1/BasicTiming008/html/4.000000.html | 38 + .../imsc1/BasicTiming008/html/5.000000.html | 45 + .../imsc1/BasicTiming008/html/6.000000.html | 52 + .../imsc1/BasicTiming008/isd/0.000000.json | 66 + .../imsc1/BasicTiming008/isd/1.000000.json | 244 + .../imsc1/BasicTiming008/isd/15.000000.json | 66 + .../imsc1/BasicTiming008/isd/2.000000.json | 346 ++ .../imsc1/BasicTiming008/isd/21.000000.json | 66 + .../imsc1/BasicTiming008/isd/22.000000.json | 66 + .../imsc1/BasicTiming008/isd/23.000000.json | 66 + .../imsc1/BasicTiming008/isd/24.000000.json | 66 + .../imsc1/BasicTiming008/isd/25.000000.json | 66 + .../imsc1/BasicTiming008/isd/26.000000.json | 66 + .../imsc1/BasicTiming008/isd/3.000000.json | 448 ++ .../imsc1/BasicTiming008/isd/4.000000.json | 550 ++ .../imsc1/BasicTiming008/isd/5.000000.json | 652 +++ .../imsc1/BasicTiming008/isd/6.000000.json | 754 +++ .../imsc1/BasicTiming010/doc.json | 158 + .../imsc1/BasicTiming010/html/0.000000.html | 4 + .../imsc1/BasicTiming010/html/10.000000.html | 15 + .../imsc1/BasicTiming010/html/24.400000.html | 11 + .../imsc1/BasicTiming010/html/25.000000.html | 15 + .../imsc1/BasicTiming010/html/35.000000.html | 11 + .../imsc1/BasicTiming010/html/40.000000.html | 4 + .../imsc1/BasicTiming010/isd/0.000000.json | 66 + .../imsc1/BasicTiming010/isd/10.000000.json | 195 + .../imsc1/BasicTiming010/isd/24.400000.json | 147 + .../imsc1/BasicTiming010/isd/25.000000.json | 195 + .../imsc1/BasicTiming010/isd/35.000000.json | 147 + .../imsc1/BasicTiming010/isd/40.000000.json | 66 + .../imsc1/BasicTiming011/doc.json | 581 +++ .../imsc1/BasicTiming011/html/0.000000.html | 4 + .../imsc1/BasicTiming011/html/0.187500.html | 13 + .../imsc1/BasicTiming011/html/0.375000.html | 16 + .../imsc1/BasicTiming011/html/0.562500.html | 19 + .../imsc1/BasicTiming011/html/0.750000.html | 25 + .../imsc1/BasicTiming011/html/0.937500.html | 28 + .../imsc1/BasicTiming011/html/1.125000.html | 31 + .../imsc1/BasicTiming011/html/1.312500.html | 37 + .../imsc1/BasicTiming011/html/1.500000.html | 40 + .../imsc1/BasicTiming011/html/1.687500.html | 43 + .../imsc1/BasicTiming011/html/1.875000.html | 49 + .../imsc1/BasicTiming011/html/2.062500.html | 52 + .../imsc1/BasicTiming011/html/2.250000.html | 55 + .../imsc1/BasicTiming011/html/2.437500.html | 61 + .../imsc1/BasicTiming011/html/2.625000.html | 64 + .../imsc1/BasicTiming011/html/2.812500.html | 67 + .../imsc1/BasicTiming011/html/3.000000.html | 70 + .../imsc1/BasicTiming011/isd/0.000000.json | 67 + .../imsc1/BasicTiming011/isd/0.187500.json | 191 + .../imsc1/BasicTiming011/isd/0.375000.json | 239 + .../imsc1/BasicTiming011/isd/0.562500.json | 287 + .../imsc1/BasicTiming011/isd/0.750000.json | 389 ++ .../imsc1/BasicTiming011/isd/0.937500.json | 437 ++ .../imsc1/BasicTiming011/isd/1.125000.json | 485 ++ .../imsc1/BasicTiming011/isd/1.312500.json | 587 +++ .../imsc1/BasicTiming011/isd/1.500000.json | 635 +++ .../imsc1/BasicTiming011/isd/1.687500.json | 683 +++ .../imsc1/BasicTiming011/isd/1.875000.json | 785 +++ .../imsc1/BasicTiming011/isd/2.062500.json | 833 +++ .../imsc1/BasicTiming011/isd/2.250000.json | 881 ++++ .../imsc1/BasicTiming011/isd/2.437500.json | 983 ++++ .../imsc1/BasicTiming011/isd/2.625000.json | 1037 ++++ .../imsc1/BasicTiming011/isd/2.812500.json | 1091 ++++ .../imsc1/BasicTiming011/isd/3.000000.json | 1145 ++++ .../imsc1/BasicTiming012/doc.json | 528 ++ .../imsc1/BasicTiming012/html/0.000000.html | 4 + .../imsc1/BasicTiming012/html/0.187500.html | 13 + .../imsc1/BasicTiming012/html/0.375000.html | 16 + .../imsc1/BasicTiming012/html/0.562500.html | 19 + .../imsc1/BasicTiming012/html/0.750000.html | 22 + .../imsc1/BasicTiming012/html/0.937500.html | 25 + .../imsc1/BasicTiming012/html/1.125000.html | 28 + .../imsc1/BasicTiming012/html/1.312500.html | 31 + .../imsc1/BasicTiming012/html/1.500000.html | 34 + .../imsc1/BasicTiming012/html/1.687500.html | 37 + .../imsc1/BasicTiming012/html/1.875000.html | 40 + .../imsc1/BasicTiming012/html/2.062500.html | 43 + .../imsc1/BasicTiming012/html/2.250000.html | 46 + .../imsc1/BasicTiming012/html/2.437500.html | 49 + .../imsc1/BasicTiming012/html/2.625000.html | 52 + .../imsc1/BasicTiming012/html/2.812500.html | 55 + .../imsc1/BasicTiming012/html/3.000000.html | 58 + .../imsc1/BasicTiming012/html/3.187500.html | 61 + .../imsc1/BasicTiming012/html/3.375000.html | 64 + .../imsc1/BasicTiming012/isd/0.000000.json | 67 + .../imsc1/BasicTiming012/isd/0.187500.json | 191 + .../imsc1/BasicTiming012/isd/0.375000.json | 239 + .../imsc1/BasicTiming012/isd/0.562500.json | 287 + .../imsc1/BasicTiming012/isd/0.750000.json | 335 ++ .../imsc1/BasicTiming012/isd/0.937500.json | 383 ++ .../imsc1/BasicTiming012/isd/1.125000.json | 431 ++ .../imsc1/BasicTiming012/isd/1.312500.json | 479 ++ .../imsc1/BasicTiming012/isd/1.500000.json | 527 ++ .../imsc1/BasicTiming012/isd/1.687500.json | 575 +++ .../imsc1/BasicTiming012/isd/1.875000.json | 623 +++ .../imsc1/BasicTiming012/isd/2.062500.json | 671 +++ .../imsc1/BasicTiming012/isd/2.250000.json | 719 +++ .../imsc1/BasicTiming012/isd/2.437500.json | 767 +++ .../imsc1/BasicTiming012/isd/2.625000.json | 815 +++ .../imsc1/BasicTiming012/isd/2.812500.json | 863 ++++ .../imsc1/BasicTiming012/isd/3.000000.json | 911 ++++ .../imsc1/BasicTiming012/isd/3.187500.json | 959 ++++ .../imsc1/BasicTiming012/isd/3.375000.json | 1007 ++++ .../imsc1/BeginDur001/doc.json | 295 ++ .../imsc1/BeginDur001/html/0.000000.html | 17 + .../imsc1/BeginDur001/html/10.000000.html | 13 + .../imsc1/BeginDur001/html/11.000000.html | 4 + .../imsc1/BeginDur001/html/12.000000.html | 13 + .../imsc1/BeginDur001/html/13.000000.html | 4 + .../imsc1/BeginDur001/html/14.000000.html | 13 + .../imsc1/BeginDur001/html/15.000000.html | 4 + .../imsc1/BeginDur001/html/16.000000.html | 13 + .../imsc1/BeginDur001/html/17.000000.html | 4 + .../imsc1/BeginDur001/html/18.000000.html | 13 + .../imsc1/BeginDur001/html/19.000000.html | 4 + .../imsc1/BeginDur001/html/20.000000.html | 13 + .../imsc1/BeginDur001/html/25.000000.html | 4 + .../imsc1/BeginDur001/html/6.000000.html | 13 + .../imsc1/BeginDur001/html/7.000000.html | 4 + .../imsc1/BeginDur001/html/8.000000.html | 13 + .../imsc1/BeginDur001/html/9.000000.html | 4 + .../imsc1/BeginDur001/isd/0.000000.json | 243 + .../imsc1/BeginDur001/isd/10.000000.json | 190 + .../imsc1/BeginDur001/isd/11.000000.json | 66 + .../imsc1/BeginDur001/isd/12.000000.json | 190 + .../imsc1/BeginDur001/isd/13.000000.json | 66 + .../imsc1/BeginDur001/isd/14.000000.json | 190 + .../imsc1/BeginDur001/isd/15.000000.json | 66 + .../imsc1/BeginDur001/isd/16.000000.json | 190 + .../imsc1/BeginDur001/isd/17.000000.json | 66 + .../imsc1/BeginDur001/isd/18.000000.json | 190 + .../imsc1/BeginDur001/isd/19.000000.json | 66 + .../imsc1/BeginDur001/isd/20.000000.json | 190 + .../imsc1/BeginDur001/isd/25.000000.json | 66 + .../imsc1/BeginDur001/isd/6.000000.json | 190 + .../imsc1/BeginDur001/isd/7.000000.json | 66 + .../imsc1/BeginDur001/isd/8.000000.json | 190 + .../imsc1/BeginDur001/isd/9.000000.json | 66 + .../imsc1/BeginEnd001/doc.json | 295 ++ .../imsc1/BeginEnd001/html/0.000000.html | 17 + .../imsc1/BeginEnd001/html/10.000000.html | 13 + .../imsc1/BeginEnd001/html/11.000000.html | 4 + .../imsc1/BeginEnd001/html/12.000000.html | 13 + .../imsc1/BeginEnd001/html/13.000000.html | 4 + .../imsc1/BeginEnd001/html/14.000000.html | 13 + .../imsc1/BeginEnd001/html/15.000000.html | 4 + .../imsc1/BeginEnd001/html/16.000000.html | 13 + .../imsc1/BeginEnd001/html/17.000000.html | 4 + .../imsc1/BeginEnd001/html/18.000000.html | 13 + .../imsc1/BeginEnd001/html/19.000000.html | 4 + .../imsc1/BeginEnd001/html/20.000000.html | 13 + .../imsc1/BeginEnd001/html/25.000000.html | 4 + .../imsc1/BeginEnd001/html/6.000000.html | 13 + .../imsc1/BeginEnd001/html/7.000000.html | 4 + .../imsc1/BeginEnd001/html/8.000000.html | 13 + .../imsc1/BeginEnd001/html/9.000000.html | 4 + .../imsc1/BeginEnd001/isd/0.000000.json | 243 + .../imsc1/BeginEnd001/isd/10.000000.json | 190 + .../imsc1/BeginEnd001/isd/11.000000.json | 66 + .../imsc1/BeginEnd001/isd/12.000000.json | 190 + .../imsc1/BeginEnd001/isd/13.000000.json | 66 + .../imsc1/BeginEnd001/isd/14.000000.json | 190 + .../imsc1/BeginEnd001/isd/15.000000.json | 66 + .../imsc1/BeginEnd001/isd/16.000000.json | 190 + .../imsc1/BeginEnd001/isd/17.000000.json | 66 + .../imsc1/BeginEnd001/isd/18.000000.json | 190 + .../imsc1/BeginEnd001/isd/19.000000.json | 66 + .../imsc1/BeginEnd001/isd/20.000000.json | 190 + .../imsc1/BeginEnd001/isd/25.000000.json | 66 + .../imsc1/BeginEnd001/isd/6.000000.json | 190 + .../imsc1/BeginEnd001/isd/7.000000.json | 66 + .../imsc1/BeginEnd001/isd/8.000000.json | 190 + .../imsc1/BeginEnd001/isd/9.000000.json | 66 + .../imsc1/BeginEnd002/doc.json | 538 ++ .../imsc1/BeginEnd002/html/0.000000.html | 17 + .../imsc1/BeginEnd002/html/1.000000.html | 26 + .../imsc1/BeginEnd002/html/10.000000.html | 107 + .../imsc1/BeginEnd002/html/11.000000.html | 112 + .../imsc1/BeginEnd002/html/2.000000.html | 35 + .../imsc1/BeginEnd002/html/20.000000.html | 107 + .../imsc1/BeginEnd002/html/3.000000.html | 44 + .../imsc1/BeginEnd002/html/4.000000.html | 53 + .../imsc1/BeginEnd002/html/5.000000.html | 62 + .../imsc1/BeginEnd002/html/6.000000.html | 71 + .../imsc1/BeginEnd002/html/7.000000.html | 80 + .../imsc1/BeginEnd002/html/8.000000.html | 89 + .../imsc1/BeginEnd002/html/9.000000.html | 98 + .../imsc1/BeginEnd002/isd/0.000000.json | 244 + .../imsc1/BeginEnd002/isd/1.000000.json | 386 ++ .../imsc1/BeginEnd002/isd/10.000000.json | 1664 ++++++ .../imsc1/BeginEnd002/isd/11.000000.json | 1753 +++++++ .../imsc1/BeginEnd002/isd/2.000000.json | 528 ++ .../imsc1/BeginEnd002/isd/20.000000.json | 1664 ++++++ .../imsc1/BeginEnd002/isd/3.000000.json | 670 +++ .../imsc1/BeginEnd002/isd/4.000000.json | 812 +++ .../imsc1/BeginEnd002/isd/5.000000.json | 954 ++++ .../imsc1/BeginEnd002/isd/6.000000.json | 1096 ++++ .../imsc1/BeginEnd002/isd/7.000000.json | 1238 +++++ .../imsc1/BeginEnd002/isd/8.000000.json | 1380 +++++ .../imsc1/BeginEnd002/isd/9.000000.json | 1522 ++++++ .../imsc1/BeginEnd003/doc.json | 295 ++ .../imsc1/BeginEnd003/html/0.000000.html | 17 + .../imsc1/BeginEnd003/html/10.000000.html | 13 + .../imsc1/BeginEnd003/html/11.000000.html | 4 + .../imsc1/BeginEnd003/html/12.000000.html | 13 + .../imsc1/BeginEnd003/html/13.000000.html | 4 + .../imsc1/BeginEnd003/html/14.000000.html | 13 + .../imsc1/BeginEnd003/html/15.000000.html | 4 + .../imsc1/BeginEnd003/html/16.000000.html | 13 + .../imsc1/BeginEnd003/html/17.000000.html | 4 + .../imsc1/BeginEnd003/html/18.000000.html | 13 + .../imsc1/BeginEnd003/html/19.000000.html | 4 + .../imsc1/BeginEnd003/html/20.000000.html | 13 + .../imsc1/BeginEnd003/html/25.000000.html | 4 + .../imsc1/BeginEnd003/html/6.000000.html | 13 + .../imsc1/BeginEnd003/html/7.000000.html | 4 + .../imsc1/BeginEnd003/html/8.000000.html | 13 + .../imsc1/BeginEnd003/html/9.000000.html | 4 + .../imsc1/BeginEnd003/isd/0.000000.json | 243 + .../imsc1/BeginEnd003/isd/10.000000.json | 190 + .../imsc1/BeginEnd003/isd/11.000000.json | 66 + .../imsc1/BeginEnd003/isd/12.000000.json | 190 + .../imsc1/BeginEnd003/isd/13.000000.json | 66 + .../imsc1/BeginEnd003/isd/14.000000.json | 190 + .../imsc1/BeginEnd003/isd/15.000000.json | 66 + .../imsc1/BeginEnd003/isd/16.000000.json | 190 + .../imsc1/BeginEnd003/isd/17.000000.json | 66 + .../imsc1/BeginEnd003/isd/18.000000.json | 190 + .../imsc1/BeginEnd003/isd/19.000000.json | 66 + .../imsc1/BeginEnd003/isd/20.000000.json | 190 + .../imsc1/BeginEnd003/isd/25.000000.json | 66 + .../imsc1/BeginEnd003/isd/6.000000.json | 190 + .../imsc1/BeginEnd003/isd/7.000000.json | 66 + .../imsc1/BeginEnd003/isd/8.000000.json | 190 + .../imsc1/BeginEnd003/isd/9.000000.json | 66 + .../reference-files/imsc1/Br001/doc.json | 112 + .../imsc1/Br001/html/0.000000.html | 17 + .../imsc1/Br001/html/10.000000.html | 4 + .../imsc1/Br001/isd/0.000000.json | 243 + .../imsc1/Br001/isd/10.000000.json | 66 + .../reference-files/imsc1/Color001/doc.json | 102 + .../imsc1/Color001/html/0.000000.html | 13 + .../imsc1/Color001/html/10.000000.html | 4 + .../imsc1/Color001/isd/0.000000.json | 190 + .../imsc1/Color001/isd/10.000000.json | 66 + .../reference-files/imsc1/Color002/doc.json | 102 + .../imsc1/Color002/html/0.000000.html | 13 + .../imsc1/Color002/html/10.000000.html | 4 + .../imsc1/Color002/isd/0.000000.json | 190 + .../imsc1/Color002/isd/10.000000.json | 66 + .../reference-files/imsc1/Color003/doc.json | 132 + .../imsc1/Color003/html/0.000000.html | 17 + .../imsc1/Color003/html/10.000000.html | 4 + .../imsc1/Color003/isd/0.000000.json | 243 + .../imsc1/Color003/isd/10.000000.json | 66 + .../reference-files/imsc1/Color004/doc.json | 102 + .../imsc1/Color004/html/0.000000.html | 13 + .../imsc1/Color004/html/10.000000.html | 4 + .../imsc1/Color004/isd/0.000000.json | 190 + .../imsc1/Color004/isd/10.000000.json | 66 + .../reference-files/imsc1/Color005/doc.json | 132 + .../imsc1/Color005/html/0.000000.html | 17 + .../imsc1/Color005/html/10.000000.html | 4 + .../imsc1/Color005/isd/0.000000.json | 243 + .../imsc1/Color005/isd/10.000000.json | 66 + .../reference-files/imsc1/Color007/doc.json | 130 + .../imsc1/Color007/html/0.000000.html | 19 + .../imsc1/Color007/html/10.000000.html | 4 + .../imsc1/Color007/isd/0.000000.json | 286 + .../imsc1/Color007/isd/10.000000.json | 66 + .../reference-files/imsc1/Color008/doc.json | 159 + .../imsc1/Color008/html/0.000000.html | 26 + .../imsc1/Color008/html/10.000000.html | 4 + .../imsc1/Color008/isd/0.000000.json | 387 ++ .../imsc1/Color008/isd/10.000000.json | 66 + .../reference-files/imsc1/Color009/doc.json | 102 + .../imsc1/Color009/html/0.000000.html | 13 + .../imsc1/Color009/html/10.000000.html | 4 + .../imsc1/Color009/isd/0.000000.json | 190 + .../imsc1/Color009/isd/10.000000.json | 66 + .../imsc1/Direction001/doc.json | 98 + .../imsc1/Direction001/html/0.000000.html | 13 + .../imsc1/Direction001/html/10.000000.html | 4 + .../imsc1/Direction001/isd/0.000000.json | 190 + .../imsc1/Direction001/isd/10.000000.json | 66 + .../imsc1/Direction002/doc.json | 98 + .../imsc1/Direction002/html/0.000000.html | 13 + .../imsc1/Direction002/html/10.000000.html | 4 + .../imsc1/Direction002/isd/0.000000.json | 190 + .../imsc1/Direction002/isd/10.000000.json | 66 + .../imsc1/Direction003/doc.json | 98 + .../imsc1/Direction003/html/0.000000.html | 13 + .../imsc1/Direction003/html/10.000000.html | 4 + .../imsc1/Direction003/isd/0.000000.json | 190 + .../imsc1/Direction003/isd/10.000000.json | 66 + .../imsc1/Direction004/doc.json | 118 + .../imsc1/Direction004/html/0.000000.html | 17 + .../imsc1/Direction004/html/10.000000.html | 4 + .../imsc1/Direction004/isd/0.000000.json | 243 + .../imsc1/Direction004/isd/10.000000.json | 66 + .../imsc1/Direction005/doc.json | 98 + .../imsc1/Direction005/html/0.000000.html | 13 + .../imsc1/Direction005/html/10.000000.html | 4 + .../imsc1/Direction005/isd/0.000000.json | 190 + .../imsc1/Direction005/isd/10.000000.json | 66 + .../imsc1/Direction006/doc.json | 121 + .../imsc1/Direction006/html/0.000000.html | 17 + .../imsc1/Direction006/html/10.000000.html | 4 + .../imsc1/Direction006/isd/0.000000.json | 243 + .../imsc1/Direction006/isd/10.000000.json | 66 + .../reference-files/imsc1/Display001/doc.json | 97 + .../imsc1/Display001/html/0.000000.html | 13 + .../imsc1/Display001/html/10.000000.html | 4 + .../imsc1/Display001/isd/0.000000.json | 190 + .../imsc1/Display001/isd/10.000000.json | 66 + .../reference-files/imsc1/Display002/doc.json | 121 + .../imsc1/Display002/html/0.000000.html | 13 + .../imsc1/Display002/html/10.000000.html | 4 + .../imsc1/Display002/html/5.000000.html | 4 + .../imsc1/Display002/isd/0.000000.json | 190 + .../imsc1/Display002/isd/10.000000.json | 66 + .../imsc1/Display002/isd/5.000000.json | 66 + .../reference-files/imsc1/Display004/doc.json | 97 + .../imsc1/Display004/html/0.000000.html | 4 + .../imsc1/Display004/html/10.000000.html | 4 + .../imsc1/Display004/isd/0.000000.json | 66 + .../imsc1/Display004/isd/10.000000.json | 66 + .../imsc1/DisplayAlign001/doc.json | 132 + .../imsc1/DisplayAlign001/html/0.000000.html | 17 + .../imsc1/DisplayAlign001/html/10.000000.html | 4 + .../imsc1/DisplayAlign001/isd/0.000000.json | 244 + .../imsc1/DisplayAlign001/isd/10.000000.json | 67 + .../imsc1/DisplayAlign002/doc.json | 132 + .../imsc1/DisplayAlign002/html/0.000000.html | 17 + .../imsc1/DisplayAlign002/html/10.000000.html | 4 + .../imsc1/DisplayAlign002/isd/0.000000.json | 244 + .../imsc1/DisplayAlign002/isd/10.000000.json | 67 + .../imsc1/DisplayAlign003/doc.json | 132 + .../imsc1/DisplayAlign003/html/0.000000.html | 17 + .../imsc1/DisplayAlign003/html/10.000000.html | 4 + .../imsc1/DisplayAlign003/isd/0.000000.json | 244 + .../imsc1/DisplayAlign003/isd/10.000000.json | 67 + .../imsc1/DisplayAlign004/doc.json | 134 + .../imsc1/DisplayAlign004/html/0.000000.html | 13 + .../imsc1/DisplayAlign004/html/1.000000.html | 2 + .../imsc1/DisplayAlign004/isd/0.000000.json | 191 + .../imsc1/DisplayAlign004/isd/1.000000.json | 5 + .../reference-files/imsc1/Div001/doc.json | 190 + .../imsc1/Div001/html/0.000000.html | 15 + .../imsc1/Div001/html/10.000000.html | 15 + .../imsc1/Div001/html/15.000000.html | 4 + .../imsc1/Div001/html/20.000000.html | 4 + .../imsc1/Div001/html/5.000000.html | 15 + .../imsc1/Div001/isd/0.000000.json | 207 + .../imsc1/Div001/isd/10.000000.json | 207 + .../imsc1/Div001/isd/15.000000.json | 66 + .../imsc1/Div001/isd/20.000000.json | 66 + .../imsc1/Div001/isd/5.000000.json | 207 + .../reference-files/imsc1/Div002/doc.json | 219 + .../imsc1/Div002/html/0.000000.html | 13 + .../imsc1/Div002/html/10.000000.html | 13 + .../imsc1/Div002/html/15.000000.html | 13 + .../imsc1/Div002/html/20.000000.html | 4 + .../imsc1/Div002/html/25.000000.html | 4 + .../imsc1/Div002/html/5.000000.html | 13 + .../imsc1/Div002/isd/0.000000.json | 190 + .../imsc1/Div002/isd/10.000000.json | 190 + .../imsc1/Div002/isd/15.000000.json | 190 + .../imsc1/Div002/isd/20.000000.json | 66 + .../imsc1/Div002/isd/25.000000.json | 66 + .../imsc1/Div002/isd/5.000000.json | 190 + .../reference-files/imsc1/Div003/doc.json | 219 + .../imsc1/Div003/html/0.000000.html | 13 + .../imsc1/Div003/html/10.000000.html | 13 + .../imsc1/Div003/html/15.000000.html | 13 + .../imsc1/Div003/html/20.000000.html | 4 + .../imsc1/Div003/html/25.000000.html | 4 + .../imsc1/Div003/html/5.000000.html | 13 + .../imsc1/Div003/isd/0.000000.json | 190 + .../imsc1/Div003/isd/10.000000.json | 190 + .../imsc1/Div003/isd/15.000000.json | 190 + .../imsc1/Div003/isd/20.000000.json | 66 + .../imsc1/Div003/isd/25.000000.json | 66 + .../imsc1/Div003/isd/5.000000.json | 190 + .../imsc1/DocumentExample120/doc.json | 514 ++ .../DocumentExample120/html/0.000000.html | 4 + .../DocumentExample120/html/0.760000.html | 13 + .../DocumentExample120/html/10.000000.html | 17 + .../DocumentExample120/html/16.000000.html | 4 + .../DocumentExample120/html/17.200000.html | 17 + .../DocumentExample120/html/23.000000.html | 13 + .../DocumentExample120/html/27.000000.html | 4 + .../DocumentExample120/html/28.000000.html | 18 + .../DocumentExample120/html/3.450000.html | 4 + .../DocumentExample120/html/34.600000.html | 17 + .../DocumentExample120/html/45.000000.html | 17 + .../DocumentExample120/html/5.000000.html | 17 + .../DocumentExample120/html/52.000000.html | 4 + .../DocumentExample120/html/53.500000.html | 18 + .../DocumentExample120/html/58.700000.html | 4 + .../DocumentExample120/isd/0.000000.json | 66 + .../DocumentExample120/isd/0.760000.json | 190 + .../DocumentExample120/isd/10.000000.json | 243 + .../DocumentExample120/isd/16.000000.json | 66 + .../DocumentExample120/isd/17.200000.json | 243 + .../DocumentExample120/isd/23.000000.json | 190 + .../DocumentExample120/isd/27.000000.json | 66 + .../DocumentExample120/isd/28.000000.json | 279 + .../DocumentExample120/isd/3.450000.json | 66 + .../DocumentExample120/isd/34.600000.json | 243 + .../DocumentExample120/isd/45.000000.json | 243 + .../DocumentExample120/isd/5.000000.json | 243 + .../DocumentExample120/isd/52.000000.json | 66 + .../DocumentExample120/isd/53.500000.json | 279 + .../DocumentExample120/isd/58.700000.json | 66 + .../imsc1/DocumentExample822/doc.json | 148 + .../DocumentExample822/html/0.000000.html | 23 + .../DocumentExample822/html/10.000000.html | 4 + .../DocumentExample822/isd/0.000000.json | 339 ++ .../DocumentExample822/isd/10.000000.json | 66 + .../imsc1/DocumentExample823/doc.json | 155 + .../DocumentExample823/html/0.000000.html | 23 + .../DocumentExample823/html/10.000000.html | 4 + .../DocumentExample823/isd/0.000000.json | 339 ++ .../DocumentExample823/isd/10.000000.json | 66 + .../imsc1/DocumentExample824/doc.json | 190 + .../DocumentExample824/html/0.000000.html | 21 + .../DocumentExample824/html/10.000000.html | 4 + .../DocumentExample824/isd/0.000000.json | 296 ++ .../DocumentExample824/isd/10.000000.json | 66 + .../imsc1/DocumentExample825/doc.json | 226 + .../DocumentExample825/html/0.000000.html | 16 + .../DocumentExample825/html/1.000000.html | 19 + .../DocumentExample825/html/2.000000.html | 19 + .../DocumentExample825/html/3.000000.html | 19 + .../DocumentExample825/html/4.000000.html | 16 + .../DocumentExample825/html/5.000000.html | 4 + .../DocumentExample825/isd/0.000000.json | 238 + .../DocumentExample825/isd/1.000000.json | 286 + .../DocumentExample825/isd/2.000000.json | 286 + .../DocumentExample825/isd/3.000000.json | 286 + .../DocumentExample825/isd/4.000000.json | 238 + .../DocumentExample825/isd/5.000000.json | 66 + .../reference-files/imsc1/Extent001/doc.json | 131 + .../imsc1/Extent001/html/0.000000.html | 17 + .../imsc1/Extent001/html/10.000000.html | 4 + .../imsc1/Extent001/isd/0.000000.json | 244 + .../imsc1/Extent001/isd/10.000000.json | 67 + .../reference-files/imsc1/Extent002/doc.json | 137 + .../imsc1/Extent002/html/0.000000.html | 19 + .../imsc1/Extent002/html/10.000000.html | 4 + .../imsc1/Extent002/isd/0.000000.json | 244 + .../imsc1/Extent002/isd/10.000000.json | 67 + .../imsc1/FillLineGap001/doc.json | 407 ++ .../imsc1/FillLineGap001/html/0.000000.html | 37 + .../imsc1/FillLineGap001/html/30.000000.html | 2 + .../imsc1/FillLineGap001/isd/0.000000.json | 545 ++ .../imsc1/FillLineGap001/isd/30.000000.json | 5 + .../imsc1/FillLineGap002/doc.json | 417 ++ .../imsc1/FillLineGap002/html/0.000000.html | 34 + .../imsc1/FillLineGap002/html/30.000000.html | 2 + .../imsc1/FillLineGap002/isd/0.000000.json | 566 ++ .../imsc1/FillLineGap002/isd/30.000000.json | 5 + .../imsc1/FillLineGap003/doc.json | 2693 ++++++++++ .../imsc1/FillLineGap003/html/0.000000.html | 32 + .../imsc1/FillLineGap003/html/10.000000.html | 57 + .../imsc1/FillLineGap003/html/15.000000.html | 57 + .../imsc1/FillLineGap003/html/20.000000.html | 57 + .../imsc1/FillLineGap003/html/25.000000.html | 57 + .../imsc1/FillLineGap003/html/30.000000.html | 57 + .../imsc1/FillLineGap003/html/35.000000.html | 57 + .../imsc1/FillLineGap003/html/40.000000.html | 2 + .../imsc1/FillLineGap003/html/5.000000.html | 32 + .../imsc1/FillLineGap003/isd/0.000000.json | 490 ++ .../imsc1/FillLineGap003/isd/10.000000.json | 887 ++++ .../imsc1/FillLineGap003/isd/15.000000.json | 890 ++++ .../imsc1/FillLineGap003/isd/20.000000.json | 890 ++++ .../imsc1/FillLineGap003/isd/25.000000.json | 890 ++++ .../imsc1/FillLineGap003/isd/30.000000.json | 890 ++++ .../imsc1/FillLineGap003/isd/35.000000.json | 890 ++++ .../imsc1/FillLineGap003/isd/40.000000.json | 5 + .../imsc1/FillLineGap003/isd/5.000000.json | 490 ++ .../imsc1/FillLineGap004/doc.json | 196 + .../imsc1/FillLineGap004/html/0.000000.html | 22 + .../imsc1/FillLineGap004/html/1.000000.html | 2 + .../imsc1/FillLineGap004/isd/0.000000.json | 341 ++ .../imsc1/FillLineGap004/isd/1.000000.json | 5 + .../imsc1/FixedBeginEnd002/doc.json | 524 ++ .../imsc1/FixedBeginEnd002/html/0.000000.html | 17 + .../imsc1/FixedBeginEnd002/html/1.000000.html | 26 + .../FixedBeginEnd002/html/10.000000.html | 107 + .../FixedBeginEnd002/html/11.000000.html | 112 + .../imsc1/FixedBeginEnd002/html/2.000000.html | 35 + .../FixedBeginEnd002/html/20.000000.html | 107 + .../imsc1/FixedBeginEnd002/html/3.000000.html | 44 + .../imsc1/FixedBeginEnd002/html/4.000000.html | 53 + .../imsc1/FixedBeginEnd002/html/5.000000.html | 62 + .../imsc1/FixedBeginEnd002/html/6.000000.html | 71 + .../imsc1/FixedBeginEnd002/html/7.000000.html | 80 + .../imsc1/FixedBeginEnd002/html/8.000000.html | 89 + .../imsc1/FixedBeginEnd002/html/9.000000.html | 98 + .../imsc1/FixedBeginEnd002/isd/0.000000.json | 243 + .../imsc1/FixedBeginEnd002/isd/1.000000.json | 385 ++ .../imsc1/FixedBeginEnd002/isd/10.000000.json | 1663 ++++++ .../imsc1/FixedBeginEnd002/isd/11.000000.json | 1752 +++++++ .../imsc1/FixedBeginEnd002/isd/2.000000.json | 527 ++ .../imsc1/FixedBeginEnd002/isd/20.000000.json | 1663 ++++++ .../imsc1/FixedBeginEnd002/isd/3.000000.json | 669 +++ .../imsc1/FixedBeginEnd002/isd/4.000000.json | 811 +++ .../imsc1/FixedBeginEnd002/isd/5.000000.json | 953 ++++ .../imsc1/FixedBeginEnd002/isd/6.000000.json | 1095 ++++ .../imsc1/FixedBeginEnd002/isd/7.000000.json | 1237 +++++ .../imsc1/FixedBeginEnd002/isd/8.000000.json | 1379 +++++ .../imsc1/FixedBeginEnd002/isd/9.000000.json | 1521 ++++++ .../imsc1/FontFamily001/doc.json | 120 + .../imsc1/FontFamily001/html/0.000000.html | 20 + .../imsc1/FontFamily001/html/10.000000.html | 4 + .../imsc1/FontFamily001/isd/0.000000.json | 286 + .../imsc1/FontFamily001/isd/10.000000.json | 66 + .../imsc1/FontFamily002/doc.json | 120 + .../imsc1/FontFamily002/html/0.000000.html | 19 + .../imsc1/FontFamily002/html/10.000000.html | 4 + .../imsc1/FontFamily002/isd/0.000000.json | 286 + .../imsc1/FontFamily002/isd/10.000000.json | 66 + .../imsc1/FontFamily003/doc.json | 120 + .../imsc1/FontFamily003/html/0.000000.html | 19 + .../imsc1/FontFamily003/html/10.000000.html | 4 + .../imsc1/FontFamily003/isd/0.000000.json | 286 + .../imsc1/FontFamily003/isd/10.000000.json | 66 + .../imsc1/FontFamily004/doc.json | 120 + .../imsc1/FontFamily004/html/0.000000.html | 20 + .../imsc1/FontFamily004/html/10.000000.html | 4 + .../imsc1/FontFamily004/isd/0.000000.json | 286 + .../imsc1/FontFamily004/isd/10.000000.json | 66 + .../imsc1/FontFamily005/doc.json | 120 + .../imsc1/FontFamily005/html/0.000000.html | 20 + .../imsc1/FontFamily005/html/10.000000.html | 4 + .../imsc1/FontFamily005/isd/0.000000.json | 286 + .../imsc1/FontFamily005/isd/10.000000.json | 66 + .../imsc1/FontFamily006/doc.json | 120 + .../imsc1/FontFamily006/html/0.000000.html | 20 + .../imsc1/FontFamily006/html/10.000000.html | 4 + .../imsc1/FontFamily006/isd/0.000000.json | 286 + .../imsc1/FontFamily006/isd/10.000000.json | 66 + .../imsc1/FontFamily007/doc.json | 120 + .../imsc1/FontFamily007/html/0.000000.html | 19 + .../imsc1/FontFamily007/html/10.000000.html | 4 + .../imsc1/FontFamily007/isd/0.000000.json | 286 + .../imsc1/FontFamily007/isd/10.000000.json | 66 + .../imsc1/FontFamily008/doc.json | 120 + .../imsc1/FontFamily008/html/0.000000.html | 20 + .../imsc1/FontFamily008/html/10.000000.html | 4 + .../imsc1/FontFamily008/isd/0.000000.json | 286 + .../imsc1/FontFamily008/isd/10.000000.json | 66 + .../imsc1/FontFamily009/doc.json | 121 + .../imsc1/FontFamily009/html/0.000000.html | 20 + .../imsc1/FontFamily009/html/10.000000.html | 4 + .../imsc1/FontFamily009/isd/0.000000.json | 287 + .../imsc1/FontFamily009/isd/10.000000.json | 66 + .../imsc1/FontSize001/doc.json | 127 + .../imsc1/FontSize001/html/0.000000.html | 19 + .../imsc1/FontSize001/html/10.000000.html | 4 + .../imsc1/FontSize001/isd/0.000000.json | 286 + .../imsc1/FontSize001/isd/10.000000.json | 66 + .../imsc1/FontSize002/doc.json | 121 + .../imsc1/FontSize002/html/0.000000.html | 19 + .../imsc1/FontSize002/html/10.000000.html | 4 + .../imsc1/FontSize002/isd/0.000000.json | 286 + .../imsc1/FontSize002/isd/10.000000.json | 66 + .../imsc1/FontSize004/doc.json | 121 + .../imsc1/FontSize004/html/0.000000.html | 19 + .../imsc1/FontSize004/html/10.000000.html | 4 + .../imsc1/FontSize004/isd/0.000000.json | 286 + .../imsc1/FontSize004/isd/10.000000.json | 66 + .../imsc1/FontStyle001/doc.json | 120 + .../imsc1/FontStyle001/html/0.000000.html | 19 + .../imsc1/FontStyle001/html/10.000000.html | 4 + .../imsc1/FontStyle001/isd/0.000000.json | 286 + .../imsc1/FontStyle001/isd/10.000000.json | 66 + .../imsc1/FontStyle002/doc.json | 118 + .../imsc1/FontStyle002/html/0.000000.html | 19 + .../imsc1/FontStyle002/html/10.000000.html | 4 + .../imsc1/FontStyle002/isd/0.000000.json | 286 + .../imsc1/FontStyle002/isd/10.000000.json | 66 + .../imsc1/FontStyle003/doc.json | 118 + .../imsc1/FontStyle003/html/0.000000.html | 19 + .../imsc1/FontStyle003/html/10.000000.html | 4 + .../imsc1/FontStyle003/isd/0.000000.json | 286 + .../imsc1/FontStyle003/isd/10.000000.json | 66 + .../imsc1/FontWeight001/doc.json | 120 + .../imsc1/FontWeight001/html/0.000000.html | 19 + .../imsc1/FontWeight001/html/10.000000.html | 4 + .../imsc1/FontWeight001/isd/0.000000.json | 286 + .../imsc1/FontWeight001/isd/10.000000.json | 66 + .../imsc1/FontWeight002/doc.json | 118 + .../imsc1/FontWeight002/html/0.000000.html | 19 + .../imsc1/FontWeight002/html/10.000000.html | 4 + .../imsc1/FontWeight002/isd/0.000000.json | 286 + .../imsc1/FontWeight002/isd/10.000000.json | 66 + .../reference-files/imsc1/Foreign001/doc.json | 95 + .../imsc1/Foreign001/html/0.000000.html | 13 + .../imsc1/Foreign001/html/5.000000.html | 4 + .../imsc1/Foreign001/isd/0.000000.json | 190 + .../imsc1/Foreign001/isd/5.000000.json | 66 + .../imsc1/LineHeight001/doc.json | 114 + .../imsc1/LineHeight001/html/0.000000.html | 17 + .../imsc1/LineHeight001/html/10.000000.html | 4 + .../imsc1/LineHeight001/isd/0.000000.json | 243 + .../imsc1/LineHeight001/isd/10.000000.json | 66 + .../imsc1/LineHeight002/doc.json | 114 + .../imsc1/LineHeight002/html/0.000000.html | 17 + .../imsc1/LineHeight002/html/10.000000.html | 4 + .../imsc1/LineHeight002/isd/0.000000.json | 243 + .../imsc1/LineHeight002/isd/10.000000.json | 66 + .../imsc1/LineHeight003/doc.json | 123 + .../imsc1/LineHeight003/html/0.000000.html | 17 + .../imsc1/LineHeight003/html/10.000000.html | 4 + .../imsc1/LineHeight003/isd/0.000000.json | 246 + .../imsc1/LineHeight003/isd/10.000000.json | 66 + .../imsc1/LineHeight006/doc.json | 117 + .../imsc1/LineHeight006/html/0.000000.html | 17 + .../imsc1/LineHeight006/html/10.000000.html | 4 + .../imsc1/LineHeight006/isd/0.000000.json | 246 + .../imsc1/LineHeight006/isd/10.000000.json | 66 + .../imsc1/LinePadding005/doc.json | 304 ++ .../imsc1/LinePadding005/html/0.000000.html | 33 + .../imsc1/LinePadding005/html/1.000000.html | 2 + .../imsc1/LinePadding005/isd/0.000000.json | 526 ++ .../imsc1/LinePadding005/isd/1.000000.json | 5 + .../imsc1/LinePadding006/doc.json | 205 + .../imsc1/LinePadding006/html/0.000000.html | 4 + .../imsc1/LinePadding006/html/2.459000.html | 17 + .../imsc1/LinePadding006/html/2.726000.html | 4 + .../imsc1/LinePadding006/isd/0.000000.json | 66 + .../imsc1/LinePadding006/isd/2.459000.json | 246 + .../imsc1/LinePadding006/isd/2.726000.json | 66 + .../imsc1/MediaParTiming001/doc.json | 178 + .../MediaParTiming001/html/0.000000.html | 4 + .../MediaParTiming001/html/10.000000.html | 28 + .../MediaParTiming001/html/15.000000.html | 18 + .../MediaParTiming001/html/20.000000.html | 4 + .../MediaParTiming001/html/5.000000.html | 18 + .../imsc1/MediaParTiming001/isd/0.000000.json | 66 + .../MediaParTiming001/isd/10.000000.json | 395 ++ .../MediaParTiming001/isd/15.000000.json | 248 + .../MediaParTiming001/isd/20.000000.json | 66 + .../imsc1/MediaParTiming001/isd/5.000000.json | 248 + .../imsc1/MediaParTiming002/doc.json | 247 + .../MediaParTiming002/html/0.000000.html | 4 + .../MediaParTiming002/html/10.000000.html | 4 + .../MediaParTiming002/html/20.000000.html | 4 + .../MediaParTiming002/html/25.000000.html | 4 + .../MediaParTiming002/html/5.000000.html | 39 + .../imsc1/MediaParTiming002/isd/0.000000.json | 66 + .../MediaParTiming002/isd/10.000000.json | 66 + .../MediaParTiming002/isd/20.000000.json | 66 + .../MediaParTiming002/isd/25.000000.json | 66 + .../imsc1/MediaParTiming002/isd/5.000000.json | 561 ++ .../imsc1/MediaParTiming003/doc.json | 254 + .../MediaParTiming003/html/0.000000.html | 19 + .../MediaParTiming003/html/10.000000.html | 19 + .../MediaParTiming003/html/15.000000.html | 28 + .../MediaParTiming003/html/20.000000.html | 4 + .../MediaParTiming003/html/40.000000.html | 4 + .../MediaParTiming003/html/5.000000.html | 19 + .../imsc1/MediaParTiming003/isd/0.000000.json | 260 + .../MediaParTiming003/isd/10.000000.json | 260 + .../MediaParTiming003/isd/15.000000.json | 402 ++ .../MediaParTiming003/isd/20.000000.json | 66 + .../MediaParTiming003/isd/40.000000.json | 66 + .../imsc1/MediaParTiming003/isd/5.000000.json | 260 + .../imsc1/MediaSeqTiming001/doc.json | 153 + .../MediaSeqTiming001/html/0.000000.html | 4 + .../MediaSeqTiming001/html/10.000000.html | 4 + .../MediaSeqTiming001/html/15.000000.html | 17 + .../MediaSeqTiming001/html/20.000000.html | 4 + .../MediaSeqTiming001/html/5.000000.html | 17 + .../imsc1/MediaSeqTiming001/isd/0.000000.json | 66 + .../MediaSeqTiming001/isd/10.000000.json | 66 + .../MediaSeqTiming001/isd/15.000000.json | 243 + .../MediaSeqTiming001/isd/20.000000.json | 66 + .../imsc1/MediaSeqTiming001/isd/5.000000.json | 243 + .../imsc1/MediaSeqTiming002/doc.json | 299 ++ .../MediaSeqTiming002/html/0.000000.html | 4 + .../MediaSeqTiming002/html/10.000000.html | 4 + .../MediaSeqTiming002/html/15.000000.html | 19 + .../MediaSeqTiming002/html/20.000000.html | 4 + .../MediaSeqTiming002/html/25.000000.html | 19 + .../MediaSeqTiming002/html/30.000000.html | 4 + .../MediaSeqTiming002/html/35.000000.html | 19 + .../MediaSeqTiming002/html/40.000000.html | 4 + .../MediaSeqTiming002/html/5.000000.html | 19 + .../imsc1/MediaSeqTiming002/isd/0.000000.json | 66 + .../MediaSeqTiming002/isd/10.000000.json | 66 + .../MediaSeqTiming002/isd/15.000000.json | 260 + .../MediaSeqTiming002/isd/20.000000.json | 66 + .../MediaSeqTiming002/isd/25.000000.json | 260 + .../MediaSeqTiming002/isd/30.000000.json | 66 + .../MediaSeqTiming002/isd/35.000000.json | 260 + .../MediaSeqTiming002/isd/40.000000.json | 66 + .../imsc1/MediaSeqTiming002/isd/5.000000.json | 260 + .../imsc1/MediaSeqTiming003/doc.json | 223 + .../MediaSeqTiming003/html/0.000000.html | 4 + .../MediaSeqTiming003/html/10.000000.html | 4 + .../MediaSeqTiming003/html/15.000000.html | 4 + .../MediaSeqTiming003/html/20.000000.html | 4 + .../MediaSeqTiming003/html/25.000000.html | 19 + .../MediaSeqTiming003/html/30.000000.html | 4 + .../MediaSeqTiming003/html/35.000000.html | 19 + .../MediaSeqTiming003/html/40.000000.html | 4 + .../MediaSeqTiming003/html/5.000000.html | 4 + .../imsc1/MediaSeqTiming003/isd/0.000000.json | 66 + .../MediaSeqTiming003/isd/10.000000.json | 66 + .../MediaSeqTiming003/isd/15.000000.json | 66 + .../MediaSeqTiming003/isd/20.000000.json | 66 + .../MediaSeqTiming003/isd/25.000000.json | 260 + .../MediaSeqTiming003/isd/30.000000.json | 66 + .../MediaSeqTiming003/isd/35.000000.json | 260 + .../MediaSeqTiming003/isd/40.000000.json | 66 + .../imsc1/MediaSeqTiming003/isd/5.000000.json | 66 + .../imsc1/MediaSeqTiming004/doc.json | 223 + .../MediaSeqTiming004/html/0.000000.html | 4 + .../MediaSeqTiming004/html/10.000000.html | 4 + .../MediaSeqTiming004/html/15.000000.html | 19 + .../MediaSeqTiming004/html/20.000000.html | 4 + .../MediaSeqTiming004/html/25.000000.html | 4 + .../MediaSeqTiming004/html/30.000000.html | 4 + .../MediaSeqTiming004/html/35.000000.html | 4 + .../MediaSeqTiming004/html/40.000000.html | 4 + .../MediaSeqTiming004/html/5.000000.html | 19 + .../imsc1/MediaSeqTiming004/isd/0.000000.json | 66 + .../MediaSeqTiming004/isd/10.000000.json | 66 + .../MediaSeqTiming004/isd/15.000000.json | 260 + .../MediaSeqTiming004/isd/20.000000.json | 66 + .../MediaSeqTiming004/isd/25.000000.json | 66 + .../MediaSeqTiming004/isd/30.000000.json | 66 + .../MediaSeqTiming004/isd/35.000000.json | 66 + .../MediaSeqTiming004/isd/40.000000.json | 66 + .../imsc1/MediaSeqTiming004/isd/5.000000.json | 260 + .../imsc1/MediaSeqTiming005/doc.json | 240 + .../MediaSeqTiming005/html/0.000000.html | 4 + .../MediaSeqTiming005/html/10.000000.html | 4 + .../MediaSeqTiming005/html/15.000000.html | 19 + .../MediaSeqTiming005/html/20.000000.html | 4 + .../MediaSeqTiming005/html/25.000000.html | 19 + .../MediaSeqTiming005/html/30.000000.html | 4 + .../MediaSeqTiming005/html/35.000000.html | 4 + .../MediaSeqTiming005/html/40.000000.html | 4 + .../MediaSeqTiming005/html/5.000000.html | 19 + .../imsc1/MediaSeqTiming005/isd/0.000000.json | 66 + .../MediaSeqTiming005/isd/10.000000.json | 66 + .../MediaSeqTiming005/isd/15.000000.json | 260 + .../MediaSeqTiming005/isd/20.000000.json | 66 + .../MediaSeqTiming005/isd/25.000000.json | 260 + .../MediaSeqTiming005/isd/30.000000.json | 66 + .../MediaSeqTiming005/isd/35.000000.json | 66 + .../MediaSeqTiming005/isd/40.000000.json | 66 + .../imsc1/MediaSeqTiming005/isd/5.000000.json | 260 + .../imsc1/MediaSeqTiming006/doc.json | 219 + .../MediaSeqTiming006/html/0.000000.html | 4 + .../MediaSeqTiming006/html/10.000000.html | 4 + .../MediaSeqTiming006/html/15.000000.html | 4 + .../MediaSeqTiming006/html/20.000000.html | 4 + .../MediaSeqTiming006/html/5.000000.html | 30 + .../imsc1/MediaSeqTiming006/isd/0.000000.json | 66 + .../MediaSeqTiming006/isd/10.000000.json | 66 + .../MediaSeqTiming006/isd/15.000000.json | 66 + .../MediaSeqTiming006/isd/20.000000.json | 66 + .../imsc1/MediaSeqTiming006/isd/5.000000.json | 419 ++ .../imsc1/MediaSeqTiming007/doc.json | 232 + .../MediaSeqTiming007/html/0.000000.html | 4 + .../MediaSeqTiming007/html/10.000000.html | 4 + .../MediaSeqTiming007/html/15.000000.html | 4 + .../MediaSeqTiming007/html/20.000000.html | 4 + .../MediaSeqTiming007/html/25.000000.html | 4 + .../MediaSeqTiming007/html/30.000000.html | 4 + .../MediaSeqTiming007/html/5.000000.html | 30 + .../imsc1/MediaSeqTiming007/isd/0.000000.json | 66 + .../MediaSeqTiming007/isd/10.000000.json | 66 + .../MediaSeqTiming007/isd/15.000000.json | 66 + .../MediaSeqTiming007/isd/20.000000.json | 66 + .../MediaSeqTiming007/isd/25.000000.json | 66 + .../MediaSeqTiming007/isd/30.000000.json | 66 + .../imsc1/MediaSeqTiming007/isd/5.000000.json | 419 ++ .../reference-files/imsc1/Opacity001/doc.json | 121 + .../imsc1/Opacity001/html/0.000000.html | 14 + .../imsc1/Opacity001/html/10.000000.html | 4 + .../imsc1/Opacity001/isd/0.000000.json | 191 + .../imsc1/Opacity001/isd/10.000000.json | 67 + .../reference-files/imsc1/Opacity002/doc.json | 121 + .../imsc1/Opacity002/html/0.000000.html | 14 + .../imsc1/Opacity002/html/10.000000.html | 4 + .../imsc1/Opacity002/isd/0.000000.json | 191 + .../imsc1/Opacity002/isd/10.000000.json | 67 + .../reference-files/imsc1/Opacity003/doc.json | 121 + .../imsc1/Opacity003/html/0.000000.html | 14 + .../imsc1/Opacity003/html/10.000000.html | 4 + .../imsc1/Opacity003/isd/0.000000.json | 191 + .../imsc1/Opacity003/isd/10.000000.json | 67 + .../reference-files/imsc1/Opacity004/doc.json | 174 + .../imsc1/Opacity004/html/0.000000.html | 16 + .../imsc1/Opacity004/html/10.000000.html | 6 + .../imsc1/Opacity004/isd/0.000000.json | 252 + .../imsc1/Opacity004/isd/10.000000.json | 128 + .../reference-files/imsc1/Origin001/doc.json | 126 + .../imsc1/Origin001/html/0.000000.html | 14 + .../imsc1/Origin001/html/10.000000.html | 4 + .../imsc1/Origin001/isd/0.000000.json | 191 + .../imsc1/Origin001/isd/10.000000.json | 67 + .../reference-files/imsc1/Origin002/doc.json | 136 + .../imsc1/Origin002/html/0.000000.html | 14 + .../imsc1/Origin002/html/10.000000.html | 4 + .../imsc1/Origin002/isd/0.000000.json | 191 + .../imsc1/Origin002/isd/10.000000.json | 67 + .../imsc1/Overflow001/doc.json | 133 + .../imsc1/Overflow001/html/0.000000.html | 13 + .../imsc1/Overflow001/html/10.000000.html | 4 + .../imsc1/Overflow001/isd/0.000000.json | 191 + .../imsc1/Overflow001/isd/10.000000.json | 67 + .../imsc1/Overflow002/doc.json | 133 + .../imsc1/Overflow002/html/0.000000.html | 13 + .../imsc1/Overflow002/html/10.000000.html | 4 + .../imsc1/Overflow002/isd/0.000000.json | 191 + .../imsc1/Overflow002/isd/10.000000.json | 67 + .../imsc1/Overflow003/doc.json | 133 + .../imsc1/Overflow003/html/0.000000.html | 16 + .../imsc1/Overflow003/html/10.000000.html | 4 + .../imsc1/Overflow003/isd/0.000000.json | 191 + .../imsc1/Overflow003/isd/10.000000.json | 67 + .../imsc1/Overflow004/doc.json | 133 + .../imsc1/Overflow004/html/0.000000.html | 16 + .../imsc1/Overflow004/html/10.000000.html | 4 + .../imsc1/Overflow004/isd/0.000000.json | 191 + .../imsc1/Overflow004/isd/10.000000.json | 67 + .../imsc1/Overflow005/doc.json | 133 + .../imsc1/Overflow005/html/0.000000.html | 16 + .../imsc1/Overflow005/html/10.000000.html | 4 + .../imsc1/Overflow005/isd/0.000000.json | 191 + .../imsc1/Overflow005/isd/10.000000.json | 67 + .../reference-files/imsc1/Padding001/doc.json | 156 + .../imsc1/Padding001/html/0.000000.html | 17 + .../imsc1/Padding001/html/10.000000.html | 4 + .../imsc1/Padding001/isd/0.000000.json | 244 + .../imsc1/Padding001/isd/10.000000.json | 67 + .../reference-files/imsc1/Padding002/doc.json | 201 + .../imsc1/Padding002/html/0.000000.html | 17 + .../imsc1/Padding002/html/10.000000.html | 4 + .../imsc1/Padding002/html/5.000000.html | 17 + .../imsc1/Padding002/isd/0.000000.json | 244 + .../imsc1/Padding002/isd/10.000000.json | 67 + .../imsc1/Padding002/isd/5.000000.json | 244 + .../reference-files/imsc1/Padding003/doc.json | 246 + .../imsc1/Padding003/html/0.000000.html | 17 + .../imsc1/Padding003/html/10.000000.html | 17 + .../imsc1/Padding003/html/15.000000.html | 4 + .../imsc1/Padding003/html/5.000000.html | 17 + .../imsc1/Padding003/isd/0.000000.json | 244 + .../imsc1/Padding003/isd/10.000000.json | 244 + .../imsc1/Padding003/isd/15.000000.json | 67 + .../imsc1/Padding003/isd/5.000000.json | 244 + .../reference-files/imsc1/Padding004/doc.json | 291 ++ .../imsc1/Padding004/html/0.000000.html | 17 + .../imsc1/Padding004/html/10.000000.html | 17 + .../imsc1/Padding004/html/15.000000.html | 17 + .../imsc1/Padding004/html/20.000000.html | 4 + .../imsc1/Padding004/html/5.000000.html | 17 + .../imsc1/Padding004/isd/0.000000.json | 244 + .../imsc1/Padding004/isd/10.000000.json | 244 + .../imsc1/Padding004/isd/15.000000.json | 244 + .../imsc1/Padding004/isd/20.000000.json | 67 + .../imsc1/Padding004/isd/5.000000.json | 244 + .../reference-files/imsc1/Padding006/doc.json | 155 + .../imsc1/Padding006/html/0.000000.html | 17 + .../imsc1/Padding006/html/10.000000.html | 4 + .../imsc1/Padding006/isd/0.000000.json | 244 + .../imsc1/Padding006/isd/10.000000.json | 67 + .../reference-files/imsc1/Padding007/doc.json | 155 + .../imsc1/Padding007/html/0.000000.html | 18 + .../imsc1/Padding007/html/10.000000.html | 4 + .../imsc1/Padding007/isd/0.000000.json | 244 + .../imsc1/Padding007/isd/10.000000.json | 67 + .../imsc1/Paragraph001/doc.json | 95 + .../imsc1/Paragraph001/html/0.000000.html | 13 + .../imsc1/Paragraph001/html/10.000000.html | 4 + .../imsc1/Paragraph001/isd/0.000000.json | 190 + .../imsc1/Paragraph001/isd/10.000000.json | 66 + .../imsc1/Paragraph002/doc.json | 94 + .../imsc1/Paragraph002/html/0.000000.html | 13 + .../imsc1/Paragraph002/isd/0.000000.json | 190 + .../imsc1/Paragraph003/doc.json | 102 + .../imsc1/Paragraph003/html/0.000000.html | 13 + .../imsc1/Paragraph003/html/10.000000.html | 4 + .../imsc1/Paragraph003/isd/0.000000.json | 190 + .../imsc1/Paragraph003/isd/10.000000.json | 66 + .../imsc1/Paragraph004/doc.json | 95 + .../imsc1/Paragraph004/html/0.000000.html | 13 + .../imsc1/Paragraph004/html/10.000000.html | 4 + .../imsc1/Paragraph004/isd/0.000000.json | 190 + .../imsc1/Paragraph004/isd/10.000000.json | 66 + .../imsc1/Paragraph005/doc.json | 95 + .../imsc1/Paragraph005/html/0.000000.html | 15 + .../imsc1/Paragraph005/html/10.000000.html | 4 + .../imsc1/Paragraph005/isd/0.000000.json | 190 + .../imsc1/Paragraph005/isd/10.000000.json | 66 + .../imsc1/Parameters006/doc.json | 94 + .../imsc1/Parameters006/html/0.000000.html | 14 + .../imsc1/Parameters006/isd/0.000000.json | 190 + .../imsc1/ShowBackground001/doc.json | 155 + .../ShowBackground001/html/0.000000.html | 14 + .../ShowBackground001/html/12.000000.html | 4 + .../ShowBackground001/html/5.000000.html | 4 + .../ShowBackground001/html/7.000000.html | 13 + .../imsc1/ShowBackground001/isd/0.000000.json | 191 + .../ShowBackground001/isd/12.000000.json | 67 + .../imsc1/ShowBackground001/isd/5.000000.json | 67 + .../imsc1/ShowBackground001/isd/7.000000.json | 191 + .../imsc1/ShowBackground002/doc.json | 155 + .../ShowBackground002/html/0.000000.html | 14 + .../ShowBackground002/html/12.000000.html | 2 + .../ShowBackground002/html/5.000000.html | 2 + .../ShowBackground002/html/7.000000.html | 13 + .../imsc1/ShowBackground002/isd/0.000000.json | 191 + .../ShowBackground002/isd/12.000000.json | 5 + .../imsc1/ShowBackground002/isd/5.000000.json | 5 + .../imsc1/ShowBackground002/isd/7.000000.json | 191 + .../reference-files/imsc1/Span001/doc.json | 116 + .../imsc1/Span001/html/0.000000.html | 19 + .../imsc1/Span001/html/10.000000.html | 4 + .../imsc1/Span001/isd/0.000000.json | 286 + .../imsc1/Span001/isd/10.000000.json | 66 + .../reference-files/imsc1/Span002/doc.json | 123 + .../imsc1/Span002/html/0.000000.html | 19 + .../imsc1/Span002/html/10.000000.html | 4 + .../imsc1/Span002/isd/0.000000.json | 286 + .../imsc1/Span002/isd/10.000000.json | 66 + .../reference-files/imsc1/Span003/doc.json | 125 + .../imsc1/Span003/html/0.000000.html | 15 + .../imsc1/Span003/html/10.000000.html | 4 + .../imsc1/Span003/isd/0.000000.json | 239 + .../imsc1/Span003/isd/10.000000.json | 66 + .../reference-files/imsc1/Span004/doc.json | 180 + .../imsc1/Span004/html/0.000000.html | 30 + .../imsc1/Span004/html/10.000000.html | 4 + .../imsc1/Span004/isd/0.000000.json | 479 ++ .../imsc1/Span004/isd/10.000000.json | 66 + .../reference-files/imsc1/Span005/doc.json | 141 + .../imsc1/Span005/html/0.000000.html | 22 + .../imsc1/Span005/html/10.000000.html | 4 + .../imsc1/Span005/isd/0.000000.json | 340 ++ .../imsc1/Span005/isd/10.000000.json | 66 + .../imsc1/Structure001/doc.json | 95 + .../imsc1/Structure001/html/0.000000.html | 13 + .../imsc1/Structure001/html/10.000000.html | 4 + .../imsc1/Structure001/isd/0.000000.json | 190 + .../imsc1/Structure001/isd/10.000000.json | 66 + .../imsc1/Structure002/doc.json | 50 + .../imsc1/Structure002/html/0.000000.html | 4 + .../imsc1/Structure002/isd/0.000000.json | 66 + .../reference-files/imsc1/Style001/doc.json | 112 + .../imsc1/Style001/html/0.000000.html | 14 + .../imsc1/Style001/html/10.000000.html | 4 + .../imsc1/Style001/isd/0.000000.json | 190 + .../imsc1/Style001/isd/10.000000.json | 66 + .../reference-files/imsc1/Styling001/doc.json | 151 + .../imsc1/Styling001/html/0.000000.html | 14 + .../imsc1/Styling001/html/10.000000.html | 4 + .../imsc1/Styling001/html/5.000000.html | 14 + .../imsc1/Styling001/isd/0.000000.json | 190 + .../imsc1/Styling001/isd/10.000000.json | 66 + .../imsc1/Styling001/isd/5.000000.json | 190 + .../imsc1/TextAlign001/doc.json | 97 + .../imsc1/TextAlign001/html/0.000000.html | 13 + .../imsc1/TextAlign001/html/10.000000.html | 4 + .../imsc1/TextAlign001/isd/0.000000.json | 190 + .../imsc1/TextAlign001/isd/10.000000.json | 66 + .../imsc1/TextAlign002/doc.json | 97 + .../imsc1/TextAlign002/html/0.000000.html | 13 + .../imsc1/TextAlign002/html/10.000000.html | 4 + .../imsc1/TextAlign002/isd/0.000000.json | 190 + .../imsc1/TextAlign002/isd/10.000000.json | 66 + .../imsc1/TextAlign003/doc.json | 97 + .../imsc1/TextAlign003/html/0.000000.html | 13 + .../imsc1/TextAlign003/html/10.000000.html | 4 + .../imsc1/TextAlign003/isd/0.000000.json | 190 + .../imsc1/TextAlign003/isd/10.000000.json | 66 + .../imsc1/TextAlign004/doc.json | 115 + .../imsc1/TextAlign004/html/0.000000.html | 4 + .../imsc1/TextAlign004/html/1.000000.html | 17 + .../imsc1/TextAlign004/html/10.000000.html | 4 + .../imsc1/TextAlign004/isd/0.000000.json | 66 + .../imsc1/TextAlign004/isd/1.000000.json | 243 + .../imsc1/TextAlign004/isd/10.000000.json | 66 + .../imsc1/TextAlign005/doc.json | 114 + .../imsc1/TextAlign005/html/0.000000.html | 17 + .../imsc1/TextAlign005/html/10.000000.html | 4 + .../imsc1/TextAlign005/isd/0.000000.json | 243 + .../imsc1/TextAlign005/isd/10.000000.json | 66 + .../imsc1/TextAlign006/doc.json | 114 + .../imsc1/TextAlign006/html/0.000000.html | 17 + .../imsc1/TextAlign006/html/10.000000.html | 4 + .../imsc1/TextAlign006/isd/0.000000.json | 243 + .../imsc1/TextAlign006/isd/10.000000.json | 66 + .../imsc1/TextDecoration001/doc.json | 99 + .../TextDecoration001/html/0.000000.html | 13 + .../TextDecoration001/html/10.000000.html | 4 + .../imsc1/TextDecoration001/isd/0.000000.json | 190 + .../TextDecoration001/isd/10.000000.json | 66 + .../imsc1/TextDecoration002/doc.json | 124 + .../TextDecoration002/html/0.000000.html | 19 + .../TextDecoration002/html/10.000000.html | 4 + .../imsc1/TextDecoration002/isd/0.000000.json | 286 + .../TextDecoration002/isd/10.000000.json | 66 + .../imsc1/TextDecoration003/doc.json | 142 + .../TextDecoration003/html/0.000000.html | 19 + .../TextDecoration003/html/10.000000.html | 4 + .../imsc1/TextDecoration003/isd/0.000000.json | 292 ++ .../TextDecoration003/isd/10.000000.json | 66 + .../imsc1/TextDecoration004/doc.json | 99 + .../TextDecoration004/html/0.000000.html | 14 + .../TextDecoration004/html/10.000000.html | 4 + .../imsc1/TextDecoration004/isd/0.000000.json | 190 + .../TextDecoration004/isd/10.000000.json | 66 + .../imsc1/TextDecoration005/doc.json | 99 + .../TextDecoration005/html/0.000000.html | 14 + .../TextDecoration005/html/10.000000.html | 4 + .../imsc1/TextDecoration005/isd/0.000000.json | 190 + .../TextDecoration005/isd/10.000000.json | 66 + .../imsc1/TextDecoration006/doc.json | 99 + .../TextDecoration006/html/0.000000.html | 14 + .../TextDecoration006/html/10.000000.html | 4 + .../imsc1/TextDecoration006/isd/0.000000.json | 190 + .../TextDecoration006/isd/10.000000.json | 66 + .../imsc1/TextDecoration007/doc.json | 132 + .../TextDecoration007/html/0.000000.html | 20 + .../TextDecoration007/html/10.000000.html | 4 + .../imsc1/TextDecoration007/isd/0.000000.json | 289 ++ .../TextDecoration007/isd/10.000000.json | 66 + .../imsc1/TextDecoration008/doc.json | 99 + .../TextDecoration008/html/0.000000.html | 13 + .../TextDecoration008/html/10.000000.html | 4 + .../imsc1/TextDecoration008/isd/0.000000.json | 190 + .../TextDecoration008/isd/10.000000.json | 66 + .../imsc1/TextDecoration009/doc.json | 132 + .../TextDecoration009/html/0.000000.html | 20 + .../TextDecoration009/html/10.000000.html | 4 + .../imsc1/TextDecoration009/isd/0.000000.json | 289 ++ .../TextDecoration009/isd/10.000000.json | 66 + .../imsc1/TextDecoration010/doc.json | 99 + .../TextDecoration010/html/0.000000.html | 13 + .../TextDecoration010/html/10.000000.html | 4 + .../imsc1/TextDecoration010/isd/0.000000.json | 190 + .../TextDecoration010/isd/10.000000.json | 66 + .../imsc1/TextDecoration011/doc.json | 132 + .../TextDecoration011/html/0.000000.html | 17 + .../TextDecoration011/html/10.000000.html | 4 + .../imsc1/TextDecoration011/isd/0.000000.json | 241 + .../TextDecoration011/isd/10.000000.json | 66 + .../imsc1/TextDecoration012/doc.json | 100 + .../TextDecoration012/html/0.000000.html | 14 + .../TextDecoration012/html/10.000000.html | 4 + .../imsc1/TextDecoration012/isd/0.000000.json | 191 + .../TextDecoration012/isd/10.000000.json | 66 + .../imsc1/TextDecoration013/doc.json | 101 + .../TextDecoration013/html/0.000000.html | 14 + .../TextDecoration013/html/10.000000.html | 4 + .../imsc1/TextDecoration013/isd/0.000000.json | 192 + .../TextDecoration013/isd/10.000000.json | 66 + .../imsc1/TextOutline001/doc.json | 119 + .../imsc1/TextOutline001/html/0.000000.html | 13 + .../imsc1/TextOutline001/html/10.000000.html | 4 + .../imsc1/TextOutline001/isd/0.000000.json | 190 + .../imsc1/TextOutline001/isd/10.000000.json | 66 + .../imsc1/TextOutline002/doc.json | 112 + .../imsc1/TextOutline002/html/0.000000.html | 14 + .../imsc1/TextOutline002/html/10.000000.html | 4 + .../imsc1/TextOutline002/isd/0.000000.json | 201 + .../imsc1/TextOutline002/isd/10.000000.json | 66 + .../imsc1/TextOutline004/doc.json | 114 + .../imsc1/TextOutline004/html/0.000000.html | 13 + .../imsc1/TextOutline004/html/10.000000.html | 4 + .../imsc1/TextOutline004/isd/0.000000.json | 201 + .../imsc1/TextOutline004/isd/10.000000.json | 66 + .../imsc1/TextOutline005/doc.json | 180 + .../imsc1/TextOutline005/html/0.000000.html | 13 + .../imsc1/TextOutline005/html/10.000000.html | 4 + .../imsc1/TextOutline005/html/5.000000.html | 13 + .../imsc1/TextOutline005/isd/0.000000.json | 202 + .../imsc1/TextOutline005/isd/10.000000.json | 67 + .../imsc1/TextOutline005/isd/5.000000.json | 202 + .../imsc1/TimeExpressions001/doc.json | 315 ++ .../TimeExpressions001/html/0.000000.html | 13 + .../TimeExpressions001/html/1.200000.html | 13 + .../TimeExpressions001/html/11842.436000.html | 13 + .../TimeExpressions001/html/15565.671000.html | 13 + .../TimeExpressions001/html/19289.505167.html | 13 + .../html/379289.605167.html | 13 + .../TimeExpressions001/html/4393.200000.html | 13 + .../TimeExpressions001/html/4394.201000.html | 13 + .../TimeExpressions001/html/4396.201000.html | 13 + .../TimeExpressions001/html/73.200000.html | 13 + .../html/739289.605167.html | 4 + .../TimeExpressions001/html/8119.201000.html | 13 + .../TimeExpressions001/isd/0.000000.json | 190 + .../TimeExpressions001/isd/1.200000.json | 190 + .../TimeExpressions001/isd/11842.436000.json | 190 + .../TimeExpressions001/isd/15565.671000.json | 190 + .../TimeExpressions001/isd/19289.505167.json | 190 + .../TimeExpressions001/isd/379289.605167.json | 190 + .../TimeExpressions001/isd/4393.200000.json | 190 + .../TimeExpressions001/isd/4394.201000.json | 190 + .../TimeExpressions001/isd/4396.201000.json | 190 + .../TimeExpressions001/isd/73.200000.json | 190 + .../TimeExpressions001/isd/739289.605167.json | 66 + .../TimeExpressions001/isd/8119.201000.json | 190 + .../reference-files/imsc1/Tt001/doc.json | 95 + .../imsc1/Tt001/html/0.000000.html | 13 + .../imsc1/Tt001/html/10.000000.html | 4 + .../imsc1/Tt001/isd/0.000000.json | 190 + .../imsc1/Tt001/isd/10.000000.json | 66 + .../reference-files/imsc1/Tt002/doc.json | 95 + .../imsc1/Tt002/html/0.000000.html | 15 + .../imsc1/Tt002/html/10.000000.html | 4 + .../imsc1/Tt002/isd/0.000000.json | 190 + .../imsc1/Tt002/isd/10.000000.json | 66 + .../reference-files/imsc1/Tt003/doc.json | 95 + .../imsc1/Tt003/html/0.000000.html | 13 + .../imsc1/Tt003/html/10.000000.html | 4 + .../imsc1/Tt003/isd/0.000000.json | 190 + .../imsc1/Tt003/isd/10.000000.json | 66 + .../imsc1/UnicodeBidi001/doc.json | 98 + .../imsc1/UnicodeBidi001/html/0.000000.html | 13 + .../imsc1/UnicodeBidi001/html/10.000000.html | 4 + .../imsc1/UnicodeBidi001/isd/0.000000.json | 190 + .../imsc1/UnicodeBidi001/isd/10.000000.json | 66 + .../imsc1/UnicodeBidi002/doc.json | 118 + .../imsc1/UnicodeBidi002/html/0.000000.html | 17 + .../imsc1/UnicodeBidi002/html/10.000000.html | 4 + .../imsc1/UnicodeBidi002/isd/0.000000.json | 243 + .../imsc1/UnicodeBidi002/isd/10.000000.json | 66 + .../imsc1/UnicodeBidi003/doc.json | 98 + .../imsc1/UnicodeBidi003/html/0.000000.html | 13 + .../imsc1/UnicodeBidi003/html/10.000000.html | 4 + .../imsc1/UnicodeBidi003/isd/0.000000.json | 190 + .../imsc1/UnicodeBidi003/isd/10.000000.json | 66 + .../imsc1/UnicodeBidi005/doc.json | 120 + .../imsc1/UnicodeBidi005/html/0.000000.html | 13 + .../imsc1/UnicodeBidi005/html/10.000000.html | 4 + .../imsc1/UnicodeBidi005/html/5.000000.html | 13 + .../imsc1/UnicodeBidi005/isd/0.000000.json | 190 + .../imsc1/UnicodeBidi005/isd/10.000000.json | 66 + .../imsc1/UnicodeBidi005/isd/5.000000.json | 190 + .../imsc1/Visibility001/doc.json | 97 + .../imsc1/Visibility001/html/0.000000.html | 13 + .../imsc1/Visibility001/html/10.000000.html | 4 + .../imsc1/Visibility001/isd/0.000000.json | 190 + .../imsc1/Visibility001/isd/10.000000.json | 66 + .../imsc1/Visibility002/doc.json | 102 + .../imsc1/Visibility002/html/0.000000.html | 13 + .../imsc1/Visibility002/html/10.000000.html | 4 + .../imsc1/Visibility002/isd/0.000000.json | 190 + .../imsc1/Visibility002/isd/10.000000.json | 66 + .../imsc1/Visibility003/doc.json | 119 + .../imsc1/Visibility003/html/0.000000.html | 17 + .../imsc1/Visibility003/html/10.000000.html | 4 + .../imsc1/Visibility003/isd/0.000000.json | 243 + .../imsc1/Visibility003/isd/10.000000.json | 66 + .../imsc1/WrapOption001/doc.json | 132 + .../imsc1/WrapOption001/html/0.000000.html | 16 + .../imsc1/WrapOption001/html/10.000000.html | 4 + .../imsc1/WrapOption001/isd/0.000000.json | 191 + .../imsc1/WrapOption001/isd/10.000000.json | 67 + .../imsc1/WrapOption002/doc.json | 132 + .../imsc1/WrapOption002/html/0.000000.html | 13 + .../imsc1/WrapOption002/html/10.000000.html | 4 + .../imsc1/WrapOption002/isd/0.000000.json | 191 + .../imsc1/WrapOption002/isd/10.000000.json | 67 + .../imsc1/WrapOption003/doc.json | 132 + .../imsc1/WrapOption003/html/0.000000.html | 13 + .../imsc1/WrapOption003/html/10.000000.html | 4 + .../imsc1/WrapOption003/isd/0.000000.json | 191 + .../imsc1/WrapOption003/isd/10.000000.json | 67 + .../imsc1/WrapOption004/doc.json | 159 + .../imsc1/WrapOption004/html/0.000000.html | 13 + .../imsc1/WrapOption004/html/10.000000.html | 4 + .../imsc1/WrapOption004/html/5.000000.html | 15 + .../imsc1/WrapOption004/isd/0.000000.json | 191 + .../imsc1/WrapOption004/isd/10.000000.json | 67 + .../imsc1/WrapOption004/isd/5.000000.json | 191 + .../imsc1/WrapOption005/doc.json | 159 + .../imsc1/WrapOption005/html/0.000000.html | 15 + .../imsc1/WrapOption005/html/10.000000.html | 4 + .../imsc1/WrapOption005/html/5.000000.html | 13 + .../imsc1/WrapOption005/isd/0.000000.json | 191 + .../imsc1/WrapOption005/isd/10.000000.json | 67 + .../imsc1/WrapOption005/isd/5.000000.json | 191 + .../imsc1/WritingMode001/doc.json | 138 + .../imsc1/WritingMode001/html/0.000000.html | 17 + .../imsc1/WritingMode001/html/10.000000.html | 4 + .../imsc1/WritingMode001/isd/0.000000.json | 244 + .../imsc1/WritingMode001/isd/10.000000.json | 67 + .../imsc1/WritingMode002/doc.json | 177 + .../imsc1/WritingMode002/html/0.000000.html | 17 + .../imsc1/WritingMode002/html/10.000000.html | 4 + .../imsc1/WritingMode002/html/5.000000.html | 17 + .../imsc1/WritingMode002/isd/0.000000.json | 244 + .../imsc1/WritingMode002/isd/10.000000.json | 67 + .../imsc1/WritingMode002/isd/5.000000.json | 244 + .../imsc1/WritingMode003/doc.json | 179 + .../imsc1/WritingMode003/html/0.000000.html | 17 + .../imsc1/WritingMode003/html/10.000000.html | 4 + .../imsc1/WritingMode003/html/5.000000.html | 17 + .../imsc1/WritingMode003/isd/0.000000.json | 244 + .../imsc1/WritingMode003/isd/10.000000.json | 67 + .../imsc1/WritingMode003/isd/5.000000.json | 244 + .../imsc1/WritingMode004/doc.json | 138 + .../imsc1/WritingMode004/html/0.000000.html | 22 + .../imsc1/WritingMode004/html/10.000000.html | 4 + .../imsc1/WritingMode004/isd/0.000000.json | 244 + .../imsc1/WritingMode004/isd/10.000000.json | 67 + .../imsc1/WritingMode005/doc.json | 138 + .../imsc1/WritingMode005/html/0.000000.html | 18 + .../imsc1/WritingMode005/html/10.000000.html | 4 + .../imsc1/WritingMode005/isd/0.000000.json | 244 + .../imsc1/WritingMode005/isd/10.000000.json | 67 + .../imsc1/WritingMode006/doc.json | 138 + .../imsc1/WritingMode006/html/0.000000.html | 17 + .../imsc1/WritingMode006/html/10.000000.html | 4 + .../imsc1/WritingMode006/isd/0.000000.json | 244 + .../imsc1/WritingMode006/isd/10.000000.json | 67 + .../imsc1/WritingMode007/doc.json | 177 + .../imsc1/WritingMode007/html/0.000000.html | 17 + .../imsc1/WritingMode007/html/10.000000.html | 4 + .../imsc1/WritingMode007/html/5.000000.html | 17 + .../imsc1/WritingMode007/isd/0.000000.json | 244 + .../imsc1/WritingMode007/isd/10.000000.json | 67 + .../imsc1/WritingMode007/isd/5.000000.json | 244 + .../imsc1/WritingMode008/doc.json | 182 + .../imsc1/WritingMode008/html/0.000000.html | 17 + .../imsc1/WritingMode008/html/10.000000.html | 4 + .../imsc1/WritingMode008/html/5.000000.html | 17 + .../imsc1/WritingMode008/isd/0.000000.json | 244 + .../imsc1/WritingMode008/isd/10.000000.json | 67 + .../imsc1/WritingMode008/isd/5.000000.json | 244 + .../imsc1/WritingMode009/doc.json | 138 + .../imsc1/WritingMode009/html/0.000000.html | 22 + .../imsc1/WritingMode009/html/10.000000.html | 4 + .../imsc1/WritingMode009/isd/0.000000.json | 244 + .../imsc1/WritingMode009/isd/10.000000.json | 67 + .../imsc1/WritingMode010/doc.json | 273 + .../imsc1/WritingMode010/html/0.000000.html | 33 + .../imsc1/WritingMode010/html/1.000000.html | 6 + .../imsc1/WritingMode010/isd/0.000000.json | 526 ++ .../imsc1/WritingMode010/isd/1.000000.json | 128 + .../reference-files/imsc1/ZIndex001/doc.json | 366 ++ .../imsc1/ZIndex001/html/0.000000.html | 13 + .../imsc1/ZIndex001/html/1.000000.html | 13 + .../imsc1/ZIndex001/html/2.000000.html | 13 + .../imsc1/ZIndex001/html/3.000000.html | 13 + .../imsc1/ZIndex001/html/4.000000.html | 13 + .../imsc1/ZIndex001/html/5.000000.html | 13 + .../imsc1/ZIndex001/html/6.000000.html | 2 + .../imsc1/ZIndex001/isd/0.000000.json | 191 + .../imsc1/ZIndex001/isd/1.000000.json | 191 + .../imsc1/ZIndex001/isd/2.000000.json | 191 + .../imsc1/ZIndex001/isd/3.000000.json | 191 + .../imsc1/ZIndex001/isd/4.000000.json | 191 + .../imsc1/ZIndex001/isd/5.000000.json | 191 + .../imsc1/ZIndex001/isd/6.000000.json | 5 + .../reference-files/imsc1/altText1/doc.json | 110 + .../imsc1/altText1/html/0.000000.html | 2 + .../imsc1/altText1/html/1.000000.html | 9 + .../imsc1/altText1/html/9.000000.html | 2 + .../imsc1/altText1/isd/0.000000.json | 5 + .../imsc1/altText1/isd/1.000000.json | 107 + .../imsc1/altText1/isd/9.000000.json | 5 + .../imsc1/aspectRatio1/doc.json | 137 + .../imsc1/aspectRatio1/html/0.000000.html | 4 + .../imsc1/aspectRatio1/html/1.000000.html | 20 + .../imsc1/aspectRatio1/html/9.000000.html | 4 + .../imsc1/aspectRatio1/isd/0.000000.json | 67 + .../imsc1/aspectRatio1/isd/1.000000.json | 194 + .../imsc1/aspectRatio1/isd/9.000000.json | 67 + .../imsc1/aspectRatio2/doc.json | 137 + .../imsc1/aspectRatio2/html/0.000000.html | 4 + .../imsc1/aspectRatio2/html/1.000000.html | 18 + .../imsc1/aspectRatio2/html/9.000000.html | 4 + .../imsc1/aspectRatio2/isd/0.000000.json | 67 + .../imsc1/aspectRatio2/isd/1.000000.json | 194 + .../imsc1/aspectRatio2/isd/9.000000.json | 67 + .../imsc1/aspectRatio3/doc.json | 100 + .../imsc1/aspectRatio3/html/0.000000.html | 2 + .../imsc1/aspectRatio3/html/1.000000.html | 9 + .../imsc1/aspectRatio3/html/9.000000.html | 2 + .../imsc1/aspectRatio3/isd/0.000000.json | 5 + .../imsc1/aspectRatio3/isd/1.000000.json | 107 + .../imsc1/aspectRatio3/isd/9.000000.json | 5 + .../imsc1/aspectRatio4/doc.json | 100 + .../imsc1/aspectRatio4/html/0.000000.html | 2 + .../imsc1/aspectRatio4/html/1.000000.html | 9 + .../imsc1/aspectRatio4/html/9.000000.html | 2 + .../imsc1/aspectRatio4/isd/0.000000.json | 5 + .../imsc1/aspectRatio4/isd/1.000000.json | 107 + .../imsc1/aspectRatio4/isd/9.000000.json | 5 + .../imsc1/aspectRatio5/doc.json | 137 + .../imsc1/aspectRatio5/html/0.000000.html | 4 + .../imsc1/aspectRatio5/html/1.000000.html | 14 + .../imsc1/aspectRatio5/html/9.000000.html | 4 + .../imsc1/aspectRatio5/isd/0.000000.json | 67 + .../imsc1/aspectRatio5/isd/1.000000.json | 194 + .../imsc1/aspectRatio5/isd/9.000000.json | 67 + .../imsc1/aspectRatio6/doc.json | 100 + .../imsc1/aspectRatio6/html/0.000000.html | 2 + .../imsc1/aspectRatio6/html/1.000000.html | 9 + .../imsc1/aspectRatio6/html/9.000000.html | 2 + .../imsc1/aspectRatio6/isd/0.000000.json | 5 + .../imsc1/aspectRatio6/isd/1.000000.json | 107 + .../imsc1/aspectRatio6/isd/9.000000.json | 5 + .../doc.json | 175 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../doc.json | 239 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 287 + .../isd/10.000000.json | 5 + .../imsc1/backgroundcolor-rgba-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../imsc1/br-in-p-001/doc.json | 202 + .../imsc1/br-in-p-001/html/0.000000.html | 17 + .../imsc1/br-in-p-001/html/10.000000.html | 2 + .../imsc1/br-in-p-001/isd/0.000000.json | 244 + .../imsc1/br-in-p-001/isd/10.000000.json | 5 + .../imsc1/br-in-span-001/doc.json | 189 + .../imsc1/br-in-span-001/html/0.000000.html | 19 + .../imsc1/br-in-span-001/html/10.000000.html | 2 + .../imsc1/br-in-span-001/isd/0.000000.json | 293 ++ .../imsc1/br-in-span-001/isd/10.000000.json | 5 + .../imsc1/cellresolution-001/doc.json | 162 + .../cellresolution-001/html/0.000000.html | 13 + .../cellresolution-001/html/10.000000.html | 2 + .../cellresolution-001/isd/0.000000.json | 191 + .../cellresolution-001/isd/10.000000.json | 5 + .../content-in-multiple-div-001/doc.json | 238 + .../html/0.000000.html | 20 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 297 ++ .../isd/10.000000.json | 5 + .../imsc1/cumulative-rows-001/doc.json | 293 ++ .../cumulative-rows-001/html/0.000000.html | 13 + .../cumulative-rows-001/html/10.000000.html | 2 + .../cumulative-rows-001/html/2.000000.html | 18 + .../cumulative-rows-001/html/4.000000.html | 18 + .../cumulative-rows-001/html/6.000000.html | 13 + .../cumulative-rows-001/isd/0.000000.json | 191 + .../cumulative-rows-001/isd/10.000000.json | 5 + .../cumulative-rows-001/isd/2.000000.json | 280 + .../cumulative-rows-001/isd/4.000000.json | 280 + .../cumulative-rows-001/isd/6.000000.json | 191 + .../imsc1/cumulative-rows-002/doc.json | 487 ++ .../cumulative-rows-002/html/0.000000.html | 13 + .../cumulative-rows-002/html/10.000000.html | 13 + .../cumulative-rows-002/html/12.000000.html | 2 + .../cumulative-rows-002/html/2.000000.html | 13 + .../cumulative-rows-002/html/4.000000.html | 13 + .../cumulative-rows-002/html/6.000000.html | 13 + .../cumulative-rows-002/html/8.000000.html | 13 + .../cumulative-rows-002/isd/0.000000.json | 191 + .../cumulative-rows-002/isd/10.000000.json | 191 + .../cumulative-rows-002/isd/12.000000.json | 5 + .../cumulative-rows-002/isd/2.000000.json | 191 + .../cumulative-rows-002/isd/4.000000.json | 191 + .../cumulative-rows-002/isd/6.000000.json | 191 + .../cumulative-rows-002/isd/8.000000.json | 191 + .../imsc1/cumulative-words-001/doc.json | 261 + .../cumulative-words-001/html/0.000000.html | 13 + .../cumulative-words-001/html/10.000000.html | 4 + .../cumulative-words-001/html/2.000000.html | 16 + .../cumulative-words-001/html/4.000000.html | 19 + .../cumulative-words-001/html/6.000000.html | 22 + .../cumulative-words-001/isd/0.000000.json | 191 + .../cumulative-words-001/isd/10.000000.json | 67 + .../cumulative-words-001/isd/2.000000.json | 239 + .../cumulative-words-001/isd/4.000000.json | 287 + .../cumulative-words-001/isd/6.000000.json | 335 ++ .../imsc1/cumulative-words-002/doc.json | 358 ++ .../cumulative-words-002/html/0.000000.html | 2 + .../cumulative-words-002/html/2.000000.html | 13 + .../cumulative-words-002/html/3.000000.html | 13 + .../cumulative-words-002/html/4.000000.html | 13 + .../cumulative-words-002/html/5.000000.html | 13 + .../cumulative-words-002/html/6.000000.html | 2 + .../cumulative-words-002/isd/0.000000.json | 5 + .../cumulative-words-002/isd/2.000000.json | 191 + .../cumulative-words-002/isd/3.000000.json | 191 + .../cumulative-words-002/isd/4.000000.json | 191 + .../cumulative-words-002/isd/5.000000.json | 191 + .../cumulative-words-002/isd/6.000000.json | 5 + .../imsc1/displayalign-after-001/doc.json | 162 + .../displayalign-after-001/html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../displayalign-after-001/isd/0.000000.json | 191 + .../displayalign-after-001/isd/10.000000.json | 5 + .../imsc1/displayalign-before-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../displayalign-before-001/isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../imsc1/displayalign-center-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../displayalign-center-001/isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../reference-files/imsc1/file-list.json | 1468 ++++++ .../imsc1/font-style-normal-001/doc.json | 229 + .../font-style-normal-001/html/0.000000.html | 19 + .../font-style-normal-001/html/10.000000.html | 2 + .../font-style-normal-001/isd/0.000000.json | 287 + .../font-style-normal-001/isd/10.000000.json | 5 + .../imsc1/font-weight-001/doc.json | 195 + .../imsc1/font-weight-001/html/0.000000.html | 16 + .../imsc1/font-weight-001/html/10.000000.html | 2 + .../imsc1/font-weight-001/isd/0.000000.json | 239 + .../imsc1/font-weight-001/isd/10.000000.json | 5 + .../imsc1/font-weight-normal-001/doc.json | 229 + .../font-weight-normal-001/html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../font-weight-normal-001/isd/0.000000.json | 287 + .../font-weight-normal-001/isd/10.000000.json | 5 + .../imsc1/fontsize-001/doc.json | 162 + .../imsc1/fontsize-001/html/0.000000.html | 13 + .../imsc1/fontsize-001/html/10.000000.html | 2 + .../imsc1/fontsize-001/isd/0.000000.json | 191 + .../imsc1/fontsize-001/isd/10.000000.json | 5 + .../imsc1/forcedDisplay1-forced/doc.json | 204 + .../forcedDisplay1-forced/html/0.000000.html | 6 + .../forcedDisplay1-forced/html/1.000000.html | 28 + .../forcedDisplay1-forced/html/9.000000.html | 6 + .../forcedDisplay1-forced/isd/0.000000.json | 128 + .../forcedDisplay1-forced/isd/1.000000.json | 382 ++ .../forcedDisplay1-forced/isd/9.000000.json | 128 + .../imsc1/forcedDisplay1/doc.json | 204 + .../imsc1/forcedDisplay1/html/0.000000.html | 6 + .../imsc1/forcedDisplay1/html/1.000000.html | 28 + .../imsc1/forcedDisplay1/html/9.000000.html | 6 + .../imsc1/forcedDisplay1/isd/0.000000.json | 128 + .../imsc1/forcedDisplay1/isd/1.000000.json | 382 ++ .../imsc1/forcedDisplay1/isd/9.000000.json | 128 + .../foreign-namespace-in-header-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../imsc1/foreign-namespace-in-p-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../imsc1/four-active-regions-001/doc.json | 447 ++ .../html/0.000000.html | 46 + .../html/10.000000.html | 10 + .../four-active-regions-001/isd/0.000000.json | 746 +++ .../isd/10.000000.json | 250 + .../imsc1/idrefs-style-001/doc.json | 165 + .../imsc1/idrefs-style-001/html/0.000000.html | 14 + .../idrefs-style-001/html/10.000000.html | 2 + .../imsc1/idrefs-style-001/isd/0.000000.json | 191 + .../imsc1/idrefs-style-001/isd/10.000000.json | 5 + .../initial-value-cellresolution-001/doc.json | 162 + .../html/0.000000.html | 13 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 5 + .../imsc1/linePadding1/doc.json | 299 ++ .../imsc1/linePadding1/html/0.000000.html | 2 + .../imsc1/linePadding1/html/1.000000.html | 36 + .../imsc1/linePadding1/html/9.000000.html | 2 + .../imsc1/linePadding1/isd/0.000000.json | 5 + .../imsc1/linePadding1/isd/1.000000.json | 586 +++ .../imsc1/linePadding1/isd/9.000000.json | 5 + .../imsc1/linePadding2/doc.json | 294 ++ .../imsc1/linePadding2/html/0.000000.html | 27 + .../imsc1/linePadding2/html/9.000000.html | 2 + .../imsc1/linePadding2/isd/0.000000.json | 438 ++ .../imsc1/linePadding2/isd/9.000000.json | 5 + .../imsc1/linePadding3/doc.json | 240 + .../imsc1/linePadding3/html/0.000000.html | 30 + .../imsc1/linePadding3/html/9.000000.html | 2 + .../imsc1/linePadding3/isd/0.000000.json | 437 ++ .../imsc1/linePadding3/isd/9.000000.json | 5 + .../imsc1/linePadding4/doc.json | 251 + .../imsc1/linePadding4/html/0.000000.html | 20 + .../imsc1/linePadding4/html/10.000000.html | 2 + .../imsc1/linePadding4/isd/0.000000.json | 295 ++ .../imsc1/linePadding4/isd/10.000000.json | 5 + .../imsc1/lineheight-001/doc.json | 220 + .../imsc1/lineheight-001/html/0.000000.html | 17 + .../imsc1/lineheight-001/html/10.000000.html | 2 + .../imsc1/lineheight-001/isd/0.000000.json | 244 + .../imsc1/lineheight-001/isd/10.000000.json | 5 + .../imsc1/linepadding-001/doc.json | 215 + .../imsc1/linepadding-001/html/0.000000.html | 17 + .../imsc1/linepadding-001/html/10.000000.html | 2 + .../imsc1/linepadding-001/isd/0.000000.json | 244 + .../imsc1/linepadding-001/isd/10.000000.json | 5 + .../imsc1/multiRowAlign1/doc.json | 235 + .../imsc1/multiRowAlign1/html/0.000000.html | 6 + .../imsc1/multiRowAlign1/html/1.000000.html | 36 + .../imsc1/multiRowAlign1/html/9.000000.html | 6 + .../imsc1/multiRowAlign1/isd/0.000000.json | 128 + .../imsc1/multiRowAlign1/isd/1.000000.json | 488 ++ .../imsc1/multiRowAlign1/isd/9.000000.json | 128 + .../multirow-align-center-auto-001/doc.json | 212 + .../html/0.000000.html | 17 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-center-center-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-center-end-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-center-start-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-end-center-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-end-start-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-start-center-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../multirow-align-start-end-001/doc.json | 212 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 244 + .../isd/10.000000.json | 5 + .../mutiple-regions-sequence-001/doc.json | 453 ++ .../html/0.000000.html | 19 + .../html/10.000000.html | 37 + .../html/12.000000.html | 28 + .../html/14.000000.html | 19 + .../html/16.000000.html | 10 + .../html/2.000000.html | 28 + .../html/4.000000.html | 37 + .../html/6.000000.html | 46 + .../isd/0.000000.json | 374 ++ .../isd/10.000000.json | 622 +++ .../isd/12.000000.json | 498 ++ .../isd/14.000000.json | 374 ++ .../isd/16.000000.json | 250 + .../isd/2.000000.json | 498 ++ .../isd/4.000000.json | 622 +++ .../isd/6.000000.json | 746 +++ .../imsc1/nested-region-001/doc.json | 215 + .../nested-region-001/html/0.000000.html | 24 + .../imsc1/nested-region-001/isd/0.000000.json | 376 ++ .../imsc1/overflow-hidden-001/doc.json | 164 + .../overflow-hidden-001/html/0.000000.html | 13 + .../overflow-hidden-001/html/10.000000.html | 2 + .../overflow-hidden-001/isd/0.000000.json | 191 + .../overflow-hidden-001/isd/10.000000.json | 5 + .../imsc1/overflow-visible-001/doc.json | 164 + .../overflow-visible-001/html/0.000000.html | 13 + .../overflow-visible-001/html/10.000000.html | 2 + .../overflow-visible-001/isd/0.000000.json | 191 + .../overflow-visible-001/isd/10.000000.json | 5 + .../imsc1/padding-four-values-001/doc.json | 180 + .../html/0.000000.html | 13 + .../html/10.000000.html | 4 + .../padding-four-values-001/isd/0.000000.json | 191 + .../isd/10.000000.json | 67 + .../imsc1/padding-one-value-001/doc.json | 168 + .../padding-one-value-001/html/0.000000.html | 14 + .../padding-one-value-001/html/10.000000.html | 4 + .../padding-one-value-001/isd/0.000000.json | 191 + .../padding-one-value-001/isd/10.000000.json | 67 + .../imsc1/padding-three-values-001/doc.json | 176 + .../html/0.000000.html | 14 + .../html/10.000000.html | 4 + .../isd/0.000000.json | 191 + .../isd/10.000000.json | 67 + .../imsc1/padding-two-values-001/doc.json | 172 + .../padding-two-values-001/html/0.000000.html | 16 + .../html/10.000000.html | 4 + .../padding-two-values-001/isd/0.000000.json | 191 + .../padding-two-values-001/isd/10.000000.json | 67 + .../imsc1/progressivelyDecodable1/doc.json | 204 + .../html/0.000000.html | 4 + .../html/1.000000.html | 13 + .../html/2.000000.html | 13 + .../html/3.000000.html | 13 + .../html/4.000000.html | 13 + .../html/5.000000.html | 4 + .../progressivelyDecodable1/isd/0.000000.json | 67 + .../progressivelyDecodable1/isd/1.000000.json | 194 + .../progressivelyDecodable1/isd/2.000000.json | 194 + .../progressivelyDecodable1/isd/3.000000.json | 194 + .../progressivelyDecodable1/isd/4.000000.json | 194 + .../progressivelyDecodable1/isd/5.000000.json | 67 + .../imsc1/referenceFonts1/doc.json | 219 + .../imsc1/referenceFonts1/html/0.000000.html | 33 + .../imsc1/referenceFonts1/html/9.000000.html | 6 + .../imsc1/referenceFonts1/isd/0.000000.json | 382 ++ .../imsc1/referenceFonts1/isd/9.000000.json | 128 + .../imsc1/region-timing/doc.json | 279 + .../imsc1/region-timing/html/0.000000.html | 14 + .../imsc1/region-timing/html/10.000000.html | 20 + .../imsc1/region-timing/html/12.000000.html | 26 + .../imsc1/region-timing/html/15.000000.html | 20 + .../imsc1/region-timing/html/16.000000.html | 26 + .../imsc1/region-timing/html/18.000000.html | 20 + .../imsc1/region-timing/html/20.000000.html | 2 + .../imsc1/region-timing/html/25.000000.html | 2 + .../imsc1/region-timing/html/5.000000.html | 14 + .../imsc1/region-timing/isd/0.000000.json | 191 + .../imsc1/region-timing/isd/10.000000.json | 280 + .../imsc1/region-timing/isd/12.000000.json | 369 ++ .../imsc1/region-timing/isd/15.000000.json | 280 + .../imsc1/region-timing/isd/16.000000.json | 369 ++ .../imsc1/region-timing/isd/18.000000.json | 280 + .../imsc1/region-timing/isd/20.000000.json | 5 + .../imsc1/region-timing/isd/25.000000.json | 5 + .../imsc1/region-timing/isd/5.000000.json | 191 + .../imsc1/space-preserve-001/doc.json | 162 + .../space-preserve-001/html/0.000000.html | 21 + .../space-preserve-001/html/10.000000.html | 2 + .../space-preserve-001/isd/0.000000.json | 287 + .../space-preserve-001/isd/10.000000.json | 5 + .../imsc1/special-character-001/doc.json | 189 + .../special-character-001/html/0.000000.html | 19 + .../special-character-001/html/10.000000.html | 2 + .../special-character-001/isd/0.000000.json | 293 ++ .../special-character-001/isd/10.000000.json | 5 + .../imsc1/styleInheritance-001/doc.json | 164 + .../styleInheritance-001/html/0.000000.html | 13 + .../styleInheritance-001/html/10.000000.html | 2 + .../styleInheritance-001/isd/0.000000.json | 191 + .../styleInheritance-001/isd/10.000000.json | 5 + .../imsc1/text-decoration-none-001/doc.json | 235 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 287 + .../isd/10.000000.json | 5 + .../imsc1/textalign-center-001/doc.json | 162 + .../textalign-center-001/html/0.000000.html | 13 + .../textalign-center-001/html/10.000000.html | 2 + .../textalign-center-001/isd/0.000000.json | 191 + .../textalign-center-001/isd/10.000000.json | 5 + .../imsc1/textalign-end-001/doc.json | 162 + .../textalign-end-001/html/0.000000.html | 13 + .../textalign-end-001/html/10.000000.html | 2 + .../imsc1/textalign-end-001/isd/0.000000.json | 191 + .../textalign-end-001/isd/10.000000.json | 5 + .../imsc1/textalign-left-001/doc.json | 162 + .../textalign-left-001/html/0.000000.html | 13 + .../textalign-left-001/html/10.000000.html | 2 + .../textalign-left-001/isd/0.000000.json | 191 + .../textalign-left-001/isd/10.000000.json | 5 + .../imsc1/textalign-right-001/doc.json | 162 + .../textalign-right-001/html/0.000000.html | 13 + .../textalign-right-001/html/10.000000.html | 2 + .../textalign-right-001/isd/0.000000.json | 191 + .../textalign-right-001/isd/10.000000.json | 5 + .../imsc1/textalign-start-001/doc.json | 162 + .../textalign-start-001/html/0.000000.html | 13 + .../textalign-start-001/html/10.000000.html | 2 + .../textalign-start-001/isd/0.000000.json | 191 + .../textalign-start-001/isd/10.000000.json | 5 + .../imsc1/timing-on-span-001/doc.json | 162 + .../timing-on-span-001/html/0.000000.html | 13 + .../timing-on-span-001/html/10.000000.html | 4 + .../timing-on-span-001/isd/0.000000.json | 191 + .../timing-on-span-001/isd/10.000000.json | 67 + .../imsc1/timing-on-span-002/doc.json | 204 + .../timing-on-span-002/html/0.000000.html | 13 + .../timing-on-span-002/html/10.000000.html | 4 + .../timing-on-span-002/html/4.000000.html | 13 + .../timing-on-span-002/isd/0.000000.json | 191 + .../timing-on-span-002/isd/10.000000.json | 67 + .../timing-on-span-002/isd/4.000000.json | 191 + .../doc.json | 229 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 287 + .../isd/10.000000.json | 5 + .../doc.json | 165 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 287 + .../isd/10.000000.json | 5 + .../doc.json | 165 + .../html/0.000000.html | 19 + .../html/10.000000.html | 2 + .../isd/0.000000.json | 287 + .../isd/10.000000.json | 5 + .../imsc1/unicode-non-bmp-character/doc.json | 107 + .../html/0.000000.html | 13 + .../isd/0.000000.json | 190 + .../imsc1/wrapoption-nowrap-001/doc.json | 164 + .../wrapoption-nowrap-001/html/0.000000.html | 13 + .../wrapoption-nowrap-001/html/10.000000.html | 2 + .../wrapoption-nowrap-001/isd/0.000000.json | 191 + .../wrapoption-nowrap-001/isd/10.000000.json | 5 + .../imsc1/wrapoption-wrap-001/doc.json | 163 + .../wrapoption-wrap-001/html/0.000000.html | 14 + .../wrapoption-wrap-001/html/10.000000.html | 2 + .../wrapoption-wrap-001/isd/0.000000.json | 191 + .../wrapoption-wrap-001/isd/10.000000.json | 5 + .../imsc1/writing-mode-lr-001/doc.json | 212 + .../writing-mode-lr-001/html/0.000000.html | 17 + .../writing-mode-lr-001/html/10.000000.html | 2 + .../writing-mode-lr-001/isd/0.000000.json | 244 + .../writing-mode-lr-001/isd/10.000000.json | 5 + .../imsc1/writing-mode-lrtb-001/doc.json | 163 + .../writing-mode-lrtb-001/html/0.000000.html | 13 + .../writing-mode-lrtb-001/html/10.000000.html | 2 + .../writing-mode-lrtb-001/isd/0.000000.json | 191 + .../writing-mode-lrtb-001/isd/10.000000.json | 5 + .../imsc1/writing-mode-rl-001/doc.json | 212 + .../writing-mode-rl-001/html/0.000000.html | 17 + .../writing-mode-rl-001/html/10.000000.html | 2 + .../writing-mode-rl-001/isd/0.000000.json | 244 + .../writing-mode-rl-001/isd/10.000000.json | 5 + .../imsc1/writing-mode-rltb-001/doc.json | 163 + .../writing-mode-rltb-001/html/0.000000.html | 13 + .../writing-mode-rltb-001/html/10.000000.html | 2 + .../writing-mode-rltb-001/isd/0.000000.json | 191 + .../writing-mode-rltb-001/isd/10.000000.json | 5 + .../imsc1/writing-mode-tb-001/doc.json | 228 + .../writing-mode-tb-001/html/0.000000.html | 13 + .../writing-mode-tb-001/html/2.000000.html | 18 + .../writing-mode-tb-001/html/4.000000.html | 2 + .../writing-mode-tb-001/isd/0.000000.json | 191 + .../writing-mode-tb-001/isd/2.000000.json | 280 + .../writing-mode-tb-001/isd/4.000000.json | 5 + .../imsc1/writing-mode-tbrl-001/doc.json | 228 + .../writing-mode-tbrl-001/html/0.000000.html | 13 + .../writing-mode-tbrl-001/html/2.000000.html | 18 + .../writing-mode-tbrl-001/html/4.000000.html | 2 + .../writing-mode-tbrl-001/isd/0.000000.json | 191 + .../writing-mode-tbrl-001/isd/2.000000.json | 280 + .../writing-mode-tbrl-001/isd/4.000000.json | 5 + .../imsc1_1/disparity001-left/doc.json | 138 + .../disparity001-left/html/0.000000.html | 13 + .../disparity001-left/html/1.000000.html | 4 + .../disparity001-left/isd/0.000000.json | 191 + .../disparity001-left/isd/1.000000.json | 67 + .../imsc1_1/disparity001-right/doc.json | 138 + .../disparity001-right/html/0.000000.html | 13 + .../disparity001-right/html/1.000000.html | 4 + .../disparity001-right/isd/0.000000.json | 191 + .../disparity001-right/isd/1.000000.json | 67 + .../imsc1_1/displayAspectRatio001/doc.json | 137 + .../displayAspectRatio001/html/0.000000.html | 4 + .../displayAspectRatio001/html/1.000000.html | 20 + .../displayAspectRatio001/html/9.000000.html | 4 + .../displayAspectRatio001/isd/0.000000.json | 67 + .../displayAspectRatio001/isd/1.000000.json | 194 + .../displayAspectRatio001/isd/9.000000.json | 67 + .../imsc1_1/displayAspectRatio002/doc.json | 137 + .../displayAspectRatio002/html/0.000000.html | 4 + .../displayAspectRatio002/html/1.000000.html | 18 + .../displayAspectRatio002/html/9.000000.html | 4 + .../displayAspectRatio002/isd/0.000000.json | 67 + .../displayAspectRatio002/isd/1.000000.json | 194 + .../displayAspectRatio002/isd/9.000000.json | 67 + .../imsc1_1/displayAspectRatio003/doc.json | 100 + .../displayAspectRatio003/html/0.000000.html | 2 + .../displayAspectRatio003/html/1.000000.html | 9 + .../displayAspectRatio003/html/9.000000.html | 2 + .../displayAspectRatio003/isd/0.000000.json | 5 + .../displayAspectRatio003/isd/1.000000.json | 107 + .../displayAspectRatio003/isd/9.000000.json | 5 + .../imsc1_1/displayAspectRatio004/doc.json | 100 + .../displayAspectRatio004/html/0.000000.html | 2 + .../displayAspectRatio004/html/1.000000.html | 9 + .../displayAspectRatio004/html/9.000000.html | 2 + .../displayAspectRatio004/isd/0.000000.json | 5 + .../displayAspectRatio004/isd/1.000000.json | 107 + .../displayAspectRatio004/isd/9.000000.json | 5 + .../reference-files/imsc1_1/file-list.json | 388 ++ .../reference-files/imsc1_1/image001/doc.json | 126 + .../imsc1_1/image001/html/0.000000.html | 9 + .../imsc1_1/image001/html/1.000000.html | 2 + .../imsc1_1/image001/isd/0.000000.json | 109 + .../imsc1_1/image001/isd/1.000000.json | 5 + .../imsc1_1/initial001/doc.json | 157 + .../imsc1_1/initial001/html/0.000000.html | 13 + .../imsc1_1/initial001/html/1.000000.html | 13 + .../imsc1_1/initial001/html/2.000000.html | 4 + .../imsc1_1/initial001/isd/0.000000.json | 191 + .../imsc1_1/initial001/isd/1.000000.json | 191 + .../imsc1_1/initial001/isd/2.000000.json | 67 + .../imsc1_1/initial002/doc.json | 159 + .../imsc1_1/initial002/html/0.000000.html | 14 + .../imsc1_1/initial002/html/1.000000.html | 14 + .../imsc1_1/initial002/html/2.000000.html | 4 + .../imsc1_1/initial002/isd/0.000000.json | 191 + .../imsc1_1/initial002/isd/1.000000.json | 191 + .../imsc1_1/initial002/isd/2.000000.json | 67 + .../lengthRootContainerRelative001/doc.json | 120 + .../html/0.000000.html | 13 + .../html/1.000000.html | 4 + .../isd/0.000000.json | 191 + .../isd/1.000000.json | 67 + .../lengthRootContainerRelative002/doc.json | 150 + .../html/0.000000.html | 16 + .../html/1.000000.html | 4 + .../isd/0.000000.json | 239 + .../isd/1.000000.json | 67 + .../lengthRootContainerRelative003/doc.json | 223 + .../html/0.000000.html | 34 + .../html/1.000000.html | 4 + .../isd/0.000000.json | 498 ++ .../isd/1.000000.json | 67 + .../lengthRootContainerRelative004/doc.json | 302 ++ .../html/0.000000.html | 34 + .../html/1.000000.html | 6 + .../isd/0.000000.json | 482 ++ .../isd/1.000000.json | 128 + .../lengthRootContainerRelative005/doc.json | 197 + .../html/0.000000.html | 20 + .../isd/0.000000.json | 316 ++ .../lengthRootContainerRelative006/doc.json | 133 + .../html/0.000000.html | 15 + .../html/10.000000.html | 4 + .../isd/0.000000.json | 201 + .../isd/10.000000.json | 66 + .../imsc1_1/linepadding002/doc.json | 257 + .../imsc1_1/linepadding002/html/0.000000.html | 30 + .../imsc1_1/linepadding002/html/1.000000.html | 4 + .../imsc1_1/linepadding002/isd/0.000000.json | 376 ++ .../imsc1_1/linepadding002/isd/1.000000.json | 67 + .../imsc1_1/luminanceGain001/doc.json | 156 + .../luminanceGain001/html/0.000000.html | 18 + .../luminanceGain001/html/1.000000.html | 4 + .../luminanceGain001/isd/0.000000.json | 244 + .../luminanceGain001/isd/1.000000.json | 67 + .../imsc1_1/position001/doc.json | 4592 ++++++++++++++++ .../imsc1_1/position001/html/0.000000.html | 13 + .../imsc1_1/position001/html/1.000000.html | 13 + .../imsc1_1/position001/html/10.000000.html | 13 + .../imsc1_1/position001/html/11.000000.html | 13 + .../imsc1_1/position001/html/12.000000.html | 13 + .../imsc1_1/position001/html/13.000000.html | 13 + .../imsc1_1/position001/html/14.000000.html | 13 + .../imsc1_1/position001/html/15.000000.html | 13 + .../imsc1_1/position001/html/16.000000.html | 13 + .../imsc1_1/position001/html/17.000000.html | 13 + .../imsc1_1/position001/html/18.000000.html | 13 + .../imsc1_1/position001/html/19.000000.html | 13 + .../imsc1_1/position001/html/2.000000.html | 13 + .../imsc1_1/position001/html/20.000000.html | 13 + .../imsc1_1/position001/html/21.000000.html | 13 + .../imsc1_1/position001/html/22.000000.html | 13 + .../imsc1_1/position001/html/23.000000.html | 13 + .../imsc1_1/position001/html/24.000000.html | 13 + .../imsc1_1/position001/html/25.000000.html | 13 + .../imsc1_1/position001/html/26.000000.html | 13 + .../imsc1_1/position001/html/27.000000.html | 13 + .../imsc1_1/position001/html/28.000000.html | 13 + .../imsc1_1/position001/html/29.000000.html | 13 + .../imsc1_1/position001/html/3.000000.html | 13 + .../imsc1_1/position001/html/30.000000.html | 13 + .../imsc1_1/position001/html/31.000000.html | 13 + .../imsc1_1/position001/html/32.000000.html | 13 + .../imsc1_1/position001/html/33.000000.html | 13 + .../imsc1_1/position001/html/34.000000.html | 13 + .../imsc1_1/position001/html/35.000000.html | 13 + .../imsc1_1/position001/html/36.000000.html | 13 + .../imsc1_1/position001/html/37.000000.html | 13 + .../imsc1_1/position001/html/38.000000.html | 13 + .../imsc1_1/position001/html/39.000000.html | 13 + .../imsc1_1/position001/html/4.000000.html | 13 + .../imsc1_1/position001/html/40.000000.html | 13 + .../imsc1_1/position001/html/41.000000.html | 13 + .../imsc1_1/position001/html/42.000000.html | 13 + .../imsc1_1/position001/html/43.000000.html | 13 + .../imsc1_1/position001/html/44.000000.html | 13 + .../imsc1_1/position001/html/45.000000.html | 13 + .../imsc1_1/position001/html/46.000000.html | 13 + .../imsc1_1/position001/html/47.000000.html | 13 + .../imsc1_1/position001/html/48.000000.html | 13 + .../imsc1_1/position001/html/49.000000.html | 13 + .../imsc1_1/position001/html/5.000000.html | 13 + .../imsc1_1/position001/html/50.000000.html | 13 + .../imsc1_1/position001/html/51.000000.html | 13 + .../imsc1_1/position001/html/52.000000.html | 13 + .../imsc1_1/position001/html/53.000000.html | 13 + .../imsc1_1/position001/html/54.000000.html | 13 + .../imsc1_1/position001/html/55.000000.html | 13 + .../imsc1_1/position001/html/56.000000.html | 13 + .../imsc1_1/position001/html/57.000000.html | 13 + .../imsc1_1/position001/html/58.000000.html | 13 + .../imsc1_1/position001/html/59.000000.html | 13 + .../imsc1_1/position001/html/6.000000.html | 13 + .../imsc1_1/position001/html/60.000000.html | 13 + .../imsc1_1/position001/html/61.000000.html | 13 + .../imsc1_1/position001/html/62.000000.html | 2 + .../imsc1_1/position001/html/7.000000.html | 13 + .../imsc1_1/position001/html/8.000000.html | 13 + .../imsc1_1/position001/html/9.000000.html | 13 + .../imsc1_1/position001/isd/0.000000.json | 191 + .../imsc1_1/position001/isd/1.000000.json | 191 + .../imsc1_1/position001/isd/10.000000.json | 191 + .../imsc1_1/position001/isd/11.000000.json | 191 + .../imsc1_1/position001/isd/12.000000.json | 191 + .../imsc1_1/position001/isd/13.000000.json | 191 + .../imsc1_1/position001/isd/14.000000.json | 191 + .../imsc1_1/position001/isd/15.000000.json | 191 + .../imsc1_1/position001/isd/16.000000.json | 191 + .../imsc1_1/position001/isd/17.000000.json | 191 + .../imsc1_1/position001/isd/18.000000.json | 191 + .../imsc1_1/position001/isd/19.000000.json | 191 + .../imsc1_1/position001/isd/2.000000.json | 191 + .../imsc1_1/position001/isd/20.000000.json | 191 + .../imsc1_1/position001/isd/21.000000.json | 191 + .../imsc1_1/position001/isd/22.000000.json | 191 + .../imsc1_1/position001/isd/23.000000.json | 191 + .../imsc1_1/position001/isd/24.000000.json | 191 + .../imsc1_1/position001/isd/25.000000.json | 191 + .../imsc1_1/position001/isd/26.000000.json | 191 + .../imsc1_1/position001/isd/27.000000.json | 191 + .../imsc1_1/position001/isd/28.000000.json | 191 + .../imsc1_1/position001/isd/29.000000.json | 191 + .../imsc1_1/position001/isd/3.000000.json | 191 + .../imsc1_1/position001/isd/30.000000.json | 191 + .../imsc1_1/position001/isd/31.000000.json | 191 + .../imsc1_1/position001/isd/32.000000.json | 191 + .../imsc1_1/position001/isd/33.000000.json | 191 + .../imsc1_1/position001/isd/34.000000.json | 191 + .../imsc1_1/position001/isd/35.000000.json | 191 + .../imsc1_1/position001/isd/36.000000.json | 191 + .../imsc1_1/position001/isd/37.000000.json | 191 + .../imsc1_1/position001/isd/38.000000.json | 191 + .../imsc1_1/position001/isd/39.000000.json | 191 + .../imsc1_1/position001/isd/4.000000.json | 191 + .../imsc1_1/position001/isd/40.000000.json | 191 + .../imsc1_1/position001/isd/41.000000.json | 191 + .../imsc1_1/position001/isd/42.000000.json | 191 + .../imsc1_1/position001/isd/43.000000.json | 191 + .../imsc1_1/position001/isd/44.000000.json | 191 + .../imsc1_1/position001/isd/45.000000.json | 191 + .../imsc1_1/position001/isd/46.000000.json | 191 + .../imsc1_1/position001/isd/47.000000.json | 191 + .../imsc1_1/position001/isd/48.000000.json | 191 + .../imsc1_1/position001/isd/49.000000.json | 191 + .../imsc1_1/position001/isd/5.000000.json | 191 + .../imsc1_1/position001/isd/50.000000.json | 191 + .../imsc1_1/position001/isd/51.000000.json | 191 + .../imsc1_1/position001/isd/52.000000.json | 191 + .../imsc1_1/position001/isd/53.000000.json | 191 + .../imsc1_1/position001/isd/54.000000.json | 191 + .../imsc1_1/position001/isd/55.000000.json | 191 + .../imsc1_1/position001/isd/56.000000.json | 191 + .../imsc1_1/position001/isd/57.000000.json | 191 + .../imsc1_1/position001/isd/58.000000.json | 191 + .../imsc1_1/position001/isd/59.000000.json | 191 + .../imsc1_1/position001/isd/6.000000.json | 191 + .../imsc1_1/position001/isd/60.000000.json | 191 + .../imsc1_1/position001/isd/61.000000.json | 191 + .../imsc1_1/position001/isd/62.000000.json | 5 + .../imsc1_1/position001/isd/7.000000.json | 191 + .../imsc1_1/position001/isd/8.000000.json | 191 + .../imsc1_1/position001/isd/9.000000.json | 191 + .../imsc1_1/position002/doc.json | 4598 +++++++++++++++++ .../imsc1_1/position002/html/0.000000.html | 13 + .../imsc1_1/position002/html/1.000000.html | 13 + .../imsc1_1/position002/html/10.000000.html | 13 + .../imsc1_1/position002/html/11.000000.html | 13 + .../imsc1_1/position002/html/12.000000.html | 13 + .../imsc1_1/position002/html/13.000000.html | 13 + .../imsc1_1/position002/html/14.000000.html | 13 + .../imsc1_1/position002/html/15.000000.html | 13 + .../imsc1_1/position002/html/16.000000.html | 13 + .../imsc1_1/position002/html/17.000000.html | 13 + .../imsc1_1/position002/html/18.000000.html | 13 + .../imsc1_1/position002/html/19.000000.html | 13 + .../imsc1_1/position002/html/2.000000.html | 13 + .../imsc1_1/position002/html/20.000000.html | 13 + .../imsc1_1/position002/html/21.000000.html | 13 + .../imsc1_1/position002/html/22.000000.html | 13 + .../imsc1_1/position002/html/23.000000.html | 13 + .../imsc1_1/position002/html/24.000000.html | 13 + .../imsc1_1/position002/html/25.000000.html | 13 + .../imsc1_1/position002/html/26.000000.html | 13 + .../imsc1_1/position002/html/27.000000.html | 13 + .../imsc1_1/position002/html/28.000000.html | 13 + .../imsc1_1/position002/html/29.000000.html | 13 + .../imsc1_1/position002/html/3.000000.html | 13 + .../imsc1_1/position002/html/30.000000.html | 13 + .../imsc1_1/position002/html/31.000000.html | 13 + .../imsc1_1/position002/html/32.000000.html | 13 + .../imsc1_1/position002/html/33.000000.html | 13 + .../imsc1_1/position002/html/34.000000.html | 13 + .../imsc1_1/position002/html/35.000000.html | 13 + .../imsc1_1/position002/html/36.000000.html | 13 + .../imsc1_1/position002/html/37.000000.html | 13 + .../imsc1_1/position002/html/38.000000.html | 13 + .../imsc1_1/position002/html/39.000000.html | 13 + .../imsc1_1/position002/html/4.000000.html | 13 + .../imsc1_1/position002/html/40.000000.html | 13 + .../imsc1_1/position002/html/41.000000.html | 13 + .../imsc1_1/position002/html/42.000000.html | 13 + .../imsc1_1/position002/html/43.000000.html | 13 + .../imsc1_1/position002/html/44.000000.html | 13 + .../imsc1_1/position002/html/45.000000.html | 13 + .../imsc1_1/position002/html/46.000000.html | 13 + .../imsc1_1/position002/html/47.000000.html | 13 + .../imsc1_1/position002/html/48.000000.html | 13 + .../imsc1_1/position002/html/49.000000.html | 13 + .../imsc1_1/position002/html/5.000000.html | 13 + .../imsc1_1/position002/html/50.000000.html | 13 + .../imsc1_1/position002/html/51.000000.html | 13 + .../imsc1_1/position002/html/52.000000.html | 13 + .../imsc1_1/position002/html/53.000000.html | 13 + .../imsc1_1/position002/html/54.000000.html | 13 + .../imsc1_1/position002/html/55.000000.html | 13 + .../imsc1_1/position002/html/56.000000.html | 13 + .../imsc1_1/position002/html/57.000000.html | 13 + .../imsc1_1/position002/html/58.000000.html | 13 + .../imsc1_1/position002/html/59.000000.html | 13 + .../imsc1_1/position002/html/6.000000.html | 13 + .../imsc1_1/position002/html/60.000000.html | 13 + .../imsc1_1/position002/html/61.000000.html | 13 + .../imsc1_1/position002/html/62.000000.html | 2 + .../imsc1_1/position002/html/7.000000.html | 13 + .../imsc1_1/position002/html/8.000000.html | 13 + .../imsc1_1/position002/html/9.000000.html | 13 + .../imsc1_1/position002/isd/0.000000.json | 191 + .../imsc1_1/position002/isd/1.000000.json | 191 + .../imsc1_1/position002/isd/10.000000.json | 191 + .../imsc1_1/position002/isd/11.000000.json | 191 + .../imsc1_1/position002/isd/12.000000.json | 191 + .../imsc1_1/position002/isd/13.000000.json | 191 + .../imsc1_1/position002/isd/14.000000.json | 191 + .../imsc1_1/position002/isd/15.000000.json | 191 + .../imsc1_1/position002/isd/16.000000.json | 191 + .../imsc1_1/position002/isd/17.000000.json | 191 + .../imsc1_1/position002/isd/18.000000.json | 191 + .../imsc1_1/position002/isd/19.000000.json | 191 + .../imsc1_1/position002/isd/2.000000.json | 191 + .../imsc1_1/position002/isd/20.000000.json | 191 + .../imsc1_1/position002/isd/21.000000.json | 191 + .../imsc1_1/position002/isd/22.000000.json | 191 + .../imsc1_1/position002/isd/23.000000.json | 191 + .../imsc1_1/position002/isd/24.000000.json | 191 + .../imsc1_1/position002/isd/25.000000.json | 191 + .../imsc1_1/position002/isd/26.000000.json | 191 + .../imsc1_1/position002/isd/27.000000.json | 191 + .../imsc1_1/position002/isd/28.000000.json | 191 + .../imsc1_1/position002/isd/29.000000.json | 191 + .../imsc1_1/position002/isd/3.000000.json | 191 + .../imsc1_1/position002/isd/30.000000.json | 191 + .../imsc1_1/position002/isd/31.000000.json | 191 + .../imsc1_1/position002/isd/32.000000.json | 191 + .../imsc1_1/position002/isd/33.000000.json | 191 + .../imsc1_1/position002/isd/34.000000.json | 191 + .../imsc1_1/position002/isd/35.000000.json | 191 + .../imsc1_1/position002/isd/36.000000.json | 191 + .../imsc1_1/position002/isd/37.000000.json | 191 + .../imsc1_1/position002/isd/38.000000.json | 191 + .../imsc1_1/position002/isd/39.000000.json | 191 + .../imsc1_1/position002/isd/4.000000.json | 191 + .../imsc1_1/position002/isd/40.000000.json | 191 + .../imsc1_1/position002/isd/41.000000.json | 191 + .../imsc1_1/position002/isd/42.000000.json | 191 + .../imsc1_1/position002/isd/43.000000.json | 191 + .../imsc1_1/position002/isd/44.000000.json | 191 + .../imsc1_1/position002/isd/45.000000.json | 191 + .../imsc1_1/position002/isd/46.000000.json | 191 + .../imsc1_1/position002/isd/47.000000.json | 191 + .../imsc1_1/position002/isd/48.000000.json | 191 + .../imsc1_1/position002/isd/49.000000.json | 191 + .../imsc1_1/position002/isd/5.000000.json | 191 + .../imsc1_1/position002/isd/50.000000.json | 191 + .../imsc1_1/position002/isd/51.000000.json | 191 + .../imsc1_1/position002/isd/52.000000.json | 191 + .../imsc1_1/position002/isd/53.000000.json | 191 + .../imsc1_1/position002/isd/54.000000.json | 191 + .../imsc1_1/position002/isd/55.000000.json | 191 + .../imsc1_1/position002/isd/56.000000.json | 191 + .../imsc1_1/position002/isd/57.000000.json | 191 + .../imsc1_1/position002/isd/58.000000.json | 191 + .../imsc1_1/position002/isd/59.000000.json | 191 + .../imsc1_1/position002/isd/6.000000.json | 191 + .../imsc1_1/position002/isd/60.000000.json | 191 + .../imsc1_1/position002/isd/61.000000.json | 191 + .../imsc1_1/position002/isd/62.000000.json | 5 + .../imsc1_1/position002/isd/7.000000.json | 191 + .../imsc1_1/position002/isd/8.000000.json | 191 + .../imsc1_1/position002/isd/9.000000.json | 191 + .../imsc1_1/position003/doc.json | 4592 ++++++++++++++++ .../imsc1_1/position003/html/0.000000.html | 13 + .../imsc1_1/position003/html/1.000000.html | 13 + .../imsc1_1/position003/html/10.000000.html | 13 + .../imsc1_1/position003/html/11.000000.html | 13 + .../imsc1_1/position003/html/12.000000.html | 13 + .../imsc1_1/position003/html/13.000000.html | 13 + .../imsc1_1/position003/html/14.000000.html | 13 + .../imsc1_1/position003/html/15.000000.html | 13 + .../imsc1_1/position003/html/16.000000.html | 13 + .../imsc1_1/position003/html/17.000000.html | 13 + .../imsc1_1/position003/html/18.000000.html | 13 + .../imsc1_1/position003/html/19.000000.html | 13 + .../imsc1_1/position003/html/2.000000.html | 13 + .../imsc1_1/position003/html/20.000000.html | 13 + .../imsc1_1/position003/html/21.000000.html | 13 + .../imsc1_1/position003/html/22.000000.html | 13 + .../imsc1_1/position003/html/23.000000.html | 13 + .../imsc1_1/position003/html/24.000000.html | 13 + .../imsc1_1/position003/html/25.000000.html | 13 + .../imsc1_1/position003/html/26.000000.html | 13 + .../imsc1_1/position003/html/27.000000.html | 13 + .../imsc1_1/position003/html/28.000000.html | 13 + .../imsc1_1/position003/html/29.000000.html | 13 + .../imsc1_1/position003/html/3.000000.html | 13 + .../imsc1_1/position003/html/30.000000.html | 13 + .../imsc1_1/position003/html/31.000000.html | 13 + .../imsc1_1/position003/html/32.000000.html | 13 + .../imsc1_1/position003/html/33.000000.html | 13 + .../imsc1_1/position003/html/34.000000.html | 13 + .../imsc1_1/position003/html/35.000000.html | 13 + .../imsc1_1/position003/html/36.000000.html | 13 + .../imsc1_1/position003/html/37.000000.html | 13 + .../imsc1_1/position003/html/38.000000.html | 13 + .../imsc1_1/position003/html/39.000000.html | 13 + .../imsc1_1/position003/html/4.000000.html | 13 + .../imsc1_1/position003/html/40.000000.html | 13 + .../imsc1_1/position003/html/41.000000.html | 13 + .../imsc1_1/position003/html/42.000000.html | 13 + .../imsc1_1/position003/html/43.000000.html | 13 + .../imsc1_1/position003/html/44.000000.html | 13 + .../imsc1_1/position003/html/45.000000.html | 13 + .../imsc1_1/position003/html/46.000000.html | 13 + .../imsc1_1/position003/html/47.000000.html | 13 + .../imsc1_1/position003/html/48.000000.html | 13 + .../imsc1_1/position003/html/49.000000.html | 13 + .../imsc1_1/position003/html/5.000000.html | 13 + .../imsc1_1/position003/html/50.000000.html | 13 + .../imsc1_1/position003/html/51.000000.html | 13 + .../imsc1_1/position003/html/52.000000.html | 13 + .../imsc1_1/position003/html/53.000000.html | 13 + .../imsc1_1/position003/html/54.000000.html | 13 + .../imsc1_1/position003/html/55.000000.html | 13 + .../imsc1_1/position003/html/56.000000.html | 13 + .../imsc1_1/position003/html/57.000000.html | 13 + .../imsc1_1/position003/html/58.000000.html | 13 + .../imsc1_1/position003/html/59.000000.html | 13 + .../imsc1_1/position003/html/6.000000.html | 13 + .../imsc1_1/position003/html/60.000000.html | 13 + .../imsc1_1/position003/html/61.000000.html | 13 + .../imsc1_1/position003/html/62.000000.html | 2 + .../imsc1_1/position003/html/7.000000.html | 13 + .../imsc1_1/position003/html/8.000000.html | 13 + .../imsc1_1/position003/html/9.000000.html | 13 + .../imsc1_1/position003/isd/0.000000.json | 191 + .../imsc1_1/position003/isd/1.000000.json | 191 + .../imsc1_1/position003/isd/10.000000.json | 191 + .../imsc1_1/position003/isd/11.000000.json | 191 + .../imsc1_1/position003/isd/12.000000.json | 191 + .../imsc1_1/position003/isd/13.000000.json | 191 + .../imsc1_1/position003/isd/14.000000.json | 191 + .../imsc1_1/position003/isd/15.000000.json | 191 + .../imsc1_1/position003/isd/16.000000.json | 191 + .../imsc1_1/position003/isd/17.000000.json | 191 + .../imsc1_1/position003/isd/18.000000.json | 191 + .../imsc1_1/position003/isd/19.000000.json | 191 + .../imsc1_1/position003/isd/2.000000.json | 191 + .../imsc1_1/position003/isd/20.000000.json | 191 + .../imsc1_1/position003/isd/21.000000.json | 191 + .../imsc1_1/position003/isd/22.000000.json | 191 + .../imsc1_1/position003/isd/23.000000.json | 191 + .../imsc1_1/position003/isd/24.000000.json | 191 + .../imsc1_1/position003/isd/25.000000.json | 191 + .../imsc1_1/position003/isd/26.000000.json | 191 + .../imsc1_1/position003/isd/27.000000.json | 191 + .../imsc1_1/position003/isd/28.000000.json | 191 + .../imsc1_1/position003/isd/29.000000.json | 191 + .../imsc1_1/position003/isd/3.000000.json | 191 + .../imsc1_1/position003/isd/30.000000.json | 191 + .../imsc1_1/position003/isd/31.000000.json | 191 + .../imsc1_1/position003/isd/32.000000.json | 191 + .../imsc1_1/position003/isd/33.000000.json | 191 + .../imsc1_1/position003/isd/34.000000.json | 191 + .../imsc1_1/position003/isd/35.000000.json | 191 + .../imsc1_1/position003/isd/36.000000.json | 191 + .../imsc1_1/position003/isd/37.000000.json | 191 + .../imsc1_1/position003/isd/38.000000.json | 191 + .../imsc1_1/position003/isd/39.000000.json | 191 + .../imsc1_1/position003/isd/4.000000.json | 191 + .../imsc1_1/position003/isd/40.000000.json | 191 + .../imsc1_1/position003/isd/41.000000.json | 191 + .../imsc1_1/position003/isd/42.000000.json | 191 + .../imsc1_1/position003/isd/43.000000.json | 191 + .../imsc1_1/position003/isd/44.000000.json | 191 + .../imsc1_1/position003/isd/45.000000.json | 191 + .../imsc1_1/position003/isd/46.000000.json | 191 + .../imsc1_1/position003/isd/47.000000.json | 191 + .../imsc1_1/position003/isd/48.000000.json | 191 + .../imsc1_1/position003/isd/49.000000.json | 191 + .../imsc1_1/position003/isd/5.000000.json | 191 + .../imsc1_1/position003/isd/50.000000.json | 191 + .../imsc1_1/position003/isd/51.000000.json | 191 + .../imsc1_1/position003/isd/52.000000.json | 191 + .../imsc1_1/position003/isd/53.000000.json | 191 + .../imsc1_1/position003/isd/54.000000.json | 191 + .../imsc1_1/position003/isd/55.000000.json | 191 + .../imsc1_1/position003/isd/56.000000.json | 191 + .../imsc1_1/position003/isd/57.000000.json | 191 + .../imsc1_1/position003/isd/58.000000.json | 191 + .../imsc1_1/position003/isd/59.000000.json | 191 + .../imsc1_1/position003/isd/6.000000.json | 191 + .../imsc1_1/position003/isd/60.000000.json | 191 + .../imsc1_1/position003/isd/61.000000.json | 191 + .../imsc1_1/position003/isd/62.000000.json | 5 + .../imsc1_1/position003/isd/7.000000.json | 191 + .../imsc1_1/position003/isd/8.000000.json | 191 + .../imsc1_1/position003/isd/9.000000.json | 191 + .../reference-files/imsc1_1/ruby001/doc.json | 184 + .../imsc1_1/ruby001/html/0.000000.html | 22 + .../imsc1_1/ruby001/html/1.000000.html | 4 + .../imsc1_1/ruby001/isd/0.000000.json | 272 + .../imsc1_1/ruby001/isd/1.000000.json | 67 + .../reference-files/imsc1_1/ruby002/doc.json | 246 + .../imsc1_1/ruby002/html/0.000000.html | 35 + .../imsc1_1/ruby002/html/1.000000.html | 4 + .../imsc1_1/ruby002/isd/0.000000.json | 464 ++ .../imsc1_1/ruby002/isd/1.000000.json | 67 + .../reference-files/imsc1_1/ruby003/doc.json | 218 + .../imsc1_1/ruby003/html/0.000000.html | 30 + .../imsc1_1/ruby003/html/1.000000.html | 4 + .../imsc1_1/ruby003/isd/0.000000.json | 378 ++ .../imsc1_1/ruby003/isd/1.000000.json | 67 + .../reference-files/imsc1_1/ruby004/doc.json | 212 + .../imsc1_1/ruby004/html/0.000000.html | 22 + .../imsc1_1/ruby004/html/1.000000.html | 4 + .../imsc1_1/ruby004/isd/0.000000.json | 368 ++ .../imsc1_1/ruby004/isd/1.000000.json | 67 + .../reference-files/imsc1_1/ruby005/doc.json | 699 +++ .../imsc1_1/ruby005/html/0.000000.html | 39 + .../imsc1_1/ruby005/html/1.000000.html | 35 + .../imsc1_1/ruby005/html/2.000000.html | 40 + .../imsc1_1/ruby005/html/3.000000.html | 36 + .../imsc1_1/ruby005/html/4.000000.html | 40 + .../imsc1_1/ruby005/html/5.000000.html | 40 + .../imsc1_1/ruby005/html/6.000000.html | 4 + .../imsc1_1/ruby005/isd/0.000000.json | 335 ++ .../imsc1_1/ruby005/isd/1.000000.json | 272 + .../imsc1_1/ruby005/isd/2.000000.json | 335 ++ .../imsc1_1/ruby005/isd/3.000000.json | 272 + .../imsc1_1/ruby005/isd/4.000000.json | 335 ++ .../imsc1_1/ruby005/isd/5.000000.json | 335 ++ .../imsc1_1/ruby005/isd/6.000000.json | 67 + .../reference-files/imsc1_1/ruby006/doc.json | 367 ++ .../imsc1_1/ruby006/html/0.000000.html | 75 + .../imsc1_1/ruby006/html/1.000000.html | 6 + .../imsc1_1/ruby006/isd/0.000000.json | 712 +++ .../imsc1_1/ruby006/isd/1.000000.json | 128 + .../imsc1_1/rubyAlign001/doc.json | 185 + .../imsc1_1/rubyAlign001/html/0.000000.html | 22 + .../imsc1_1/rubyAlign001/html/1.000000.html | 4 + .../imsc1_1/rubyAlign001/isd/0.000000.json | 272 + .../imsc1_1/rubyAlign001/isd/1.000000.json | 67 + .../imsc1_1/rubyAlign002/doc.json | 185 + .../imsc1_1/rubyAlign002/html/0.000000.html | 22 + .../imsc1_1/rubyAlign002/html/1.000000.html | 4 + .../imsc1_1/rubyAlign002/isd/0.000000.json | 272 + .../imsc1_1/rubyAlign002/isd/1.000000.json | 67 + .../imsc1_1/rubyAlign003/doc.json | 184 + .../imsc1_1/rubyAlign003/html/0.000000.html | 22 + .../imsc1_1/rubyAlign003/html/1.000000.html | 4 + .../imsc1_1/rubyAlign003/isd/0.000000.json | 272 + .../imsc1_1/rubyAlign003/isd/1.000000.json | 67 + .../imsc1_1/rubyAlign004/doc.json | 572 ++ .../imsc1_1/rubyAlign004/html/0.000000.html | 32 + .../imsc1_1/rubyAlign004/html/1.000000.html | 27 + .../imsc1_1/rubyAlign004/html/2.000000.html | 31 + .../imsc1_1/rubyAlign004/html/3.000000.html | 31 + .../imsc1_1/rubyAlign004/html/4.000000.html | 4 + .../imsc1_1/rubyAlign004/isd/0.000000.json | 429 ++ .../imsc1_1/rubyAlign004/isd/1.000000.json | 361 ++ .../imsc1_1/rubyAlign004/isd/2.000000.json | 424 ++ .../imsc1_1/rubyAlign004/isd/3.000000.json | 424 ++ .../imsc1_1/rubyAlign004/isd/4.000000.json | 67 + .../imsc1_1/rubyReserve001/doc.json | 560 ++ .../imsc1_1/rubyReserve001/html/0.000000.html | 88 + .../imsc1_1/rubyReserve001/html/1.000000.html | 40 + .../imsc1_1/rubyReserve001/html/2.000000.html | 6 + .../imsc1_1/rubyReserve001/isd/0.000000.json | 1193 +++++ .../imsc1_1/rubyReserve001/isd/1.000000.json | 485 ++ .../imsc1_1/rubyReserve001/isd/2.000000.json | 128 + .../imsc1_1/rubyReserve002/doc.json | 865 ++++ .../imsc1_1/rubyReserve002/html/0.000000.html | 102 + .../imsc1_1/rubyReserve002/html/1.000000.html | 103 + .../imsc1_1/rubyReserve002/html/2.000000.html | 103 + .../imsc1_1/rubyReserve002/html/3.000000.html | 104 + .../imsc1_1/rubyReserve002/html/4.000000.html | 2 + .../imsc1_1/rubyReserve002/isd/0.000000.json | 812 +++ .../imsc1_1/rubyReserve002/isd/1.000000.json | 812 +++ .../imsc1_1/rubyReserve002/isd/2.000000.json | 812 +++ .../imsc1_1/rubyReserve002/isd/3.000000.json | 812 +++ .../imsc1_1/rubyReserve002/isd/4.000000.json | 5 + .../imsc1_1/rubyReserve003/doc.json | 437 ++ .../imsc1_1/rubyReserve003/html/0.000000.html | 30 + .../imsc1_1/rubyReserve003/html/1.000000.html | 30 + .../imsc1_1/rubyReserve003/html/2.000000.html | 30 + .../imsc1_1/rubyReserve003/html/3.000000.html | 32 + .../imsc1_1/rubyReserve003/html/4.000000.html | 2 + .../imsc1_1/rubyReserve003/isd/0.000000.json | 336 ++ .../imsc1_1/rubyReserve003/isd/1.000000.json | 336 ++ .../imsc1_1/rubyReserve003/isd/2.000000.json | 336 ++ .../imsc1_1/rubyReserve003/isd/3.000000.json | 336 ++ .../imsc1_1/rubyReserve003/isd/4.000000.json | 5 + .../reference-files/imsc1_1/shear001/doc.json | 910 ++++ .../imsc1_1/shear001/html/0.000000.html | 43 + .../imsc1_1/shear001/html/1.000000.html | 43 + .../imsc1_1/shear001/html/2.000000.html | 43 + .../imsc1_1/shear001/html/3.000000.html | 43 + .../imsc1_1/shear001/html/4.000000.html | 43 + .../imsc1_1/shear001/html/5.000000.html | 43 + .../imsc1_1/shear001/html/6.000000.html | 2 + .../imsc1_1/shear001/isd/0.000000.json | 667 +++ .../imsc1_1/shear001/isd/1.000000.json | 667 +++ .../imsc1_1/shear001/isd/2.000000.json | 667 +++ .../imsc1_1/shear001/isd/3.000000.json | 667 +++ .../imsc1_1/shear001/isd/4.000000.json | 667 +++ .../imsc1_1/shear001/isd/5.000000.json | 667 +++ .../imsc1_1/shear001/isd/6.000000.json | 5 + .../reference-files/imsc1_1/shear002/doc.json | 285 + .../imsc1_1/shear002/html/0.000000.html | 37 + .../imsc1_1/shear002/html/1.000000.html | 2 + .../imsc1_1/shear002/isd/0.000000.json | 553 ++ .../imsc1_1/shear002/isd/1.000000.json | 5 + .../reference-files/imsc1_1/shear003/doc.json | 351 ++ .../imsc1_1/shear003/html/0.000000.html | 50 + .../imsc1_1/shear003/html/1.000000.html | 2 + .../imsc1_1/shear003/isd/0.000000.json | 725 +++ .../imsc1_1/shear003/isd/1.000000.json | 5 + .../imsc1_1/textCombine001/doc.json | 259 + .../imsc1_1/textCombine001/html/0.000000.html | 34 + .../imsc1_1/textCombine001/html/1.000000.html | 2 + .../imsc1_1/textCombine001/isd/0.000000.json | 568 ++ .../imsc1_1/textCombine001/isd/1.000000.json | 5 + .../imsc1_1/textCombine002/doc.json | 287 + .../imsc1_1/textCombine002/html/0.000000.html | 38 + .../imsc1_1/textCombine002/html/1.000000.html | 2 + .../imsc1_1/textCombine002/isd/0.000000.json | 664 +++ .../imsc1_1/textCombine002/isd/1.000000.json | 5 + .../imsc1_1/textEmphasis001/doc.json | 485 ++ .../textEmphasis001/html/0.000000.html | 77 + .../textEmphasis001/html/1.000000.html | 4 + .../imsc1_1/textEmphasis001/isd/0.000000.json | 1204 +++++ .../imsc1_1/textEmphasis001/isd/1.000000.json | 67 + .../imsc1_1/textEmphasis002/doc.json | 182 + .../textEmphasis002/html/0.000000.html | 18 + .../textEmphasis002/html/1.000000.html | 4 + .../imsc1_1/textEmphasis002/isd/0.000000.json | 288 ++ .../imsc1_1/textEmphasis002/isd/1.000000.json | 67 + .../imsc1_1/textEmphasis003/doc.json | 282 + .../textEmphasis003/html/0.000000.html | 29 + .../textEmphasis003/html/1.000000.html | 4 + .../imsc1_1/textEmphasis003/isd/0.000000.json | 436 ++ .../imsc1_1/textEmphasis003/isd/1.000000.json | 67 + .../imsc1_1/textEmphasis004/doc.json | 718 +++ .../textEmphasis004/html/0.000000.html | 17 + .../textEmphasis004/html/1.000000.html | 16 + .../textEmphasis004/html/2.000000.html | 17 + .../textEmphasis004/html/3.000000.html | 16 + .../textEmphasis004/html/4.000000.html | 17 + .../textEmphasis004/html/5.000000.html | 16 + .../textEmphasis004/html/6.000000.html | 17 + .../textEmphasis004/html/7.000000.html | 16 + .../textEmphasis004/html/8.000000.html | 2 + .../imsc1_1/textEmphasis004/isd/0.000000.json | 244 + .../imsc1_1/textEmphasis004/isd/1.000000.json | 239 + .../imsc1_1/textEmphasis004/isd/2.000000.json | 244 + .../imsc1_1/textEmphasis004/isd/3.000000.json | 239 + .../imsc1_1/textEmphasis004/isd/4.000000.json | 244 + .../imsc1_1/textEmphasis004/isd/5.000000.json | 239 + .../imsc1_1/textEmphasis004/isd/6.000000.json | 244 + .../imsc1_1/textEmphasis004/isd/7.000000.json | 239 + .../imsc1_1/textEmphasis004/isd/8.000000.json | 5 + .../imsc1_1/textShadow001/doc.json | 197 + .../imsc1_1/textShadow001/html/0.000000.html | 20 + .../imsc1_1/textShadow001/isd/0.000000.json | 316 ++ src/test/webapp/js/gen-renders.js | 232 +- 2748 files changed, 347882 insertions(+), 161 deletions(-) create mode 100644 script/gen-reference-files.mjs create mode 100644 script/lib/gen-renders-page.mjs create mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation004/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation007/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation007/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation008/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation008/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation012/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation012/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation013/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation014/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation014/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation014/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation014/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation014/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation015/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation015/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation015/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation015/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation015/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation016/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation016/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation016/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation016/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation016/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation017/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation017/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation017/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation017/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation018/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Animation018/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation018/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Animation018/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/21.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/22.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/21.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/22.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/24.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/26.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/24.400000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.187500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.375000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.562500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.750000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.937500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.125000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.312500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.500000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.687500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.875000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.062500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.250000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.437500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.625000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.812500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.187500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.375000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.562500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.750000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.937500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.125000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.312500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.500000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.687500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.875000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.062500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.250000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.437500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.625000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.812500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.187500.json create mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.375000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Br001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Br001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Br001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Br001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Br001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color009/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Color009/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color009/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Color009/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Color009/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Direction006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Direction006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Display001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Display002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Display004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Display004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Display004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Div003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.760000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/17.200000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/27.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/28.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/3.450000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/34.600000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/45.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/52.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/53.500000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/isd/58.700000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/doc.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Extent001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Extent001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Extent001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Extent002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Extent002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Extent002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontSize004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontSize004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Foreign001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Foreign001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Foreign001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/isd/2.459000.json create mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/isd/2.726000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Opacity004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Opacity004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Origin001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Origin001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Origin001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Origin002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Origin002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Origin002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Overflow005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Overflow005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Padding007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Padding007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Parameters006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Parameters006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Span001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Span002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Span003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Span004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Span005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Span005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Span005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Structure001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Structure001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Structure001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Structure002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Structure002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Style001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Style001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Style001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Style001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Style001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Styling001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Styling001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Styling001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Styling001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/1.200000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/11842.436000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/15565.671000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/19289.505167.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/379289.605167.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4393.200000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4394.201000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4396.201000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/73.200000.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/739289.605167.json create mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/isd/8119.201000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Tt003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Tt003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/Visibility003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/Visibility003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/doc.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/altText1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/altText1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/altText1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/altText1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/altText1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/altText1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/altText1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/doc.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/file-list.json create mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/doc.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding2/doc.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding2/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding2/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding3/doc.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding3/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding3/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding4/doc.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linePadding4/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linePadding4/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1/nested-region-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/nested-region-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/doc.json create mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/doc.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1/region-timing/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/special-character-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/special-character-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/special-character-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/doc.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-non-bmp-character/doc.json create mode 100644 src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/unicode-non-bmp-character/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/doc.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/file-list.json create mode 100644 src/test/resources/reference-files/imsc1_1/image001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/image001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/image001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/initial002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/21.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/22.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/24.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/26.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/27.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/28.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/29.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/31.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/32.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/33.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/34.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/36.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/37.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/38.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/39.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/41.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/42.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/43.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/44.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/45.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/46.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/47.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/48.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/49.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/50.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/51.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/52.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/53.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/54.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/55.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/56.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/57.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/58.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/59.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/60.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/61.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/62.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position001/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/21.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/22.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/24.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/26.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/27.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/28.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/29.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/31.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/32.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/33.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/34.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/36.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/37.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/38.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/39.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/41.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/42.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/43.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/44.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/45.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/46.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/47.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/48.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/49.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/50.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/51.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/52.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/53.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/54.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/55.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/56.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/57.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/58.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/59.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/60.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/61.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/62.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position002/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/10.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/11.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/12.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/13.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/14.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/15.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/16.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/17.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/18.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/19.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/20.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/21.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/22.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/23.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/24.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/25.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/26.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/27.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/28.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/29.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/30.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/31.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/32.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/33.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/34.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/35.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/36.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/37.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/38.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/39.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/40.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/41.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/42.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/43.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/44.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/45.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/46.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/47.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/48.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/49.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/50.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/51.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/52.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/53.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/54.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/55.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/56.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/57.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/58.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/59.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/60.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/61.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/62.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/position003/isd/9.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear001/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/shear003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/shear003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/0.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/1.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/2.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/3.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/4.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/5.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/6.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/7.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/8.000000.json create mode 100644 src/test/resources/reference-files/imsc1_1/textShadow001/doc.json create mode 100644 src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html create mode 100644 src/test/resources/reference-files/imsc1_1/textShadow001/isd/0.000000.json diff --git a/package.json b/package.json index 6858bddd..b689a63b 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,8 @@ "prepublishOnly": "grunt build:release", "dev": "npx http-server build/public_html", "gen-imsc1": "node script/gen-renders.mjs imsc-tests/imsc1 build/renders-imsc1.zip --browser=firefox ", + "gen-imsc1_1": "node script/gen-renders.mjs imsc-tests/imsc1_1 build/renders-imsc1_1.zip --browser=firefox ", + "gen-reference-files": "node script/gen-reference-files.mjs --browser=firefox", "install:firefox": "puppeteer browsers install firefox", "lint": "eslint .", "fix": "eslint --fix src", diff --git a/script/gen-reference-files.mjs b/script/gen-reference-files.mjs new file mode 100644 index 00000000..1ee666aa --- /dev/null +++ b/script/gen-reference-files.mjs @@ -0,0 +1,58 @@ +#!/usr/bin/env node + +/* + * Headless equivalent of build/public_html/gen-renders.html that generates + * reference files (doc.json, ISD documents and HTML documents -- no PNGs) + * for the IMSC 1 and IMSC 1.1 test suites at src/test/resources/imsc-tests, + * writing them to src/test/resources/reference-files//. + * + * Usage: + * node script/gen-reference-files.mjs [--browser=chrome|firefox] + */ + +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { withGenRendersPage } from "./lib/gen-renders-page.mjs"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const OUTPUT_ROOT = path.resolve(__dirname, "..", "src", "test", "resources", "reference-files"); + +const REFFILES_ROOTS = ["imsc-tests/imsc1", "imsc-tests/imsc1_1"]; + +async function generateReferenceFilesForRoot(page, reffilesRoot) { + console.log(`Generating reference files for "${reffilesRoot}"...`); + + const files = await page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + return await generateReferenceFiles(root); + }, reffilesRoot); + + const destDir = path.join(OUTPUT_ROOT, path.basename(reffilesRoot)); + + fs.rmSync(destDir, { recursive: true, force: true }); + + for (const [relativePath, contents] of Object.entries(files)) { + const filePath = path.join(destDir, relativePath); + fs.mkdirSync(path.dirname(filePath), { recursive: true }); + fs.writeFileSync(filePath, contents); + } + + console.log(`Wrote ${Object.keys(files).length} files to ${destDir}`); +} + +async function main() { + const browserArg = process.argv.find((a) => a.startsWith("--browser=")); + const browserProduct = browserArg ? browserArg.split("=")[1] : "chrome"; + + await withGenRendersPage(browserProduct, async (page) => { + for (const reffilesRoot of REFFILES_ROOTS) { + await generateReferenceFilesForRoot(page, reffilesRoot); + } + }); +} + +main().catch((err) => { + console.error(err); + process.exitCode = 1; +}); diff --git a/script/gen-renders.mjs b/script/gen-renders.mjs index d7de56c4..282f920a 100644 --- a/script/gen-renders.mjs +++ b/script/gen-renders.mjs @@ -14,51 +14,7 @@ import fs from "node:fs"; import path from "node:path"; -import { fileURLToPath } from "node:url"; -import puppeteer from "puppeteer"; - -const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const PUBLIC_DIR = path.resolve(__dirname, "..", "build", "public_html"); - -const MIME_TYPES = { - ".html": "text/html", - ".js": "text/javascript", - ".css": "text/css", - ".json": "application/json", - ".ttml": "application/xml", - ".xml": "application/xml", - ".png": "image/png", -}; - -// Answers every request against a fake origin straight from build/public_html, -// so no real HTTP server needs to be listening. -async function serveFromDisk(page, rootDir) { - await page.setRequestInterception(true); - - page.on("request", (request) => { - const urlPath = decodeURIComponent(new URL(request.url()).pathname); - const filePath = path.join(rootDir, urlPath); - - if (!filePath.startsWith(rootDir)) { - request.respond({ status: 403 }); - return; - } - - fs.readFile(filePath, (err, data) => { - if (err) { - request.respond({ status: 404 }); - return; - } - - const ext = path.extname(filePath).toLowerCase(); - request.respond({ - status: 200, - contentType: MIME_TYPES[ext] || "application/octet-stream", - body: data, - }); - }); - }); -} +import { withGenRendersPage } from "./lib/gen-renders-page.mjs"; async function main() { const args = process.argv.slice(2).filter((a) => !a.startsWith("--")); @@ -68,45 +24,23 @@ async function main() { const browserArg = process.argv.find((a) => a.startsWith("--browser=")); const browserProduct = browserArg ? browserArg.split("=")[1] : "chrome"; - if (!fs.existsSync(PUBLIC_DIR)) { - throw new Error(`${PUBLIC_DIR} does not exist. Run "grunt build" first.`); - } - - const browser = await puppeteer.launch({ - browser: browserProduct, - headless: true, - }); - - try { - const page = await browser.newPage(); - - page.on("console", (msg) => console.log(`[page] ${msg.text()}`)); - page.on("pageerror", (err) => console.error(`[page error] ${err}`)); + console.log(`Generating renders for "${reffilesRoot}"...`); - await serveFromDisk(page, PUBLIC_DIR); + const base64Zip = await withGenRendersPage(browserProduct, (page) => page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + const blob = await generateRenders(root); - await page.goto("http://gen-renders.local/gen-renders.html", { waitUntil: "load" }); - - console.log(`Generating renders for "${reffilesRoot}"...`); - - const base64Zip = await page.evaluate(async (root) => { - // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context - const blob = await generateRenders(root); - - return new Promise((resolve, reject) => { - const reader = new FileReader(); - reader.onload = () => resolve(reader.result.split(",")[1]); - reader.onerror = () => reject(reader.error); - reader.readAsDataURL(blob); - }); - }, reffilesRoot); + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onload = () => resolve(reader.result.split(",")[1]); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }); + }, reffilesRoot)); - fs.writeFileSync(outFile, Buffer.from(base64Zip, "base64")); + fs.writeFileSync(outFile, Buffer.from(base64Zip, "base64")); - console.log(`Wrote ${outFile}`); - } finally { - await browser.close(); - } + console.log(`Wrote ${outFile}`); } main().catch((err) => { diff --git a/script/lib/gen-renders-page.mjs b/script/lib/gen-renders-page.mjs new file mode 100644 index 00000000..346025e4 --- /dev/null +++ b/script/lib/gen-renders-page.mjs @@ -0,0 +1,85 @@ +/* + * Shared Puppeteer setup for driving build/public_html/gen-renders.html + * headlessly: launches a browser, serves build/public_html straight off + * disk against a fake origin (no HTTP server needed), and navigates to + * gen-renders.html so its page-global functions (generateRenders, + * generateReferenceFiles, ...) are ready to call via page.evaluate(). + */ + +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import puppeteer from "puppeteer"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +export const PUBLIC_DIR = path.resolve(__dirname, "..", "..", "build", "public_html"); + +const MIME_TYPES = { + ".html": "text/html", + ".js": "text/javascript", + ".css": "text/css", + ".json": "application/json", + ".ttml": "application/xml", + ".xml": "application/xml", + ".png": "image/png", +}; + +// Answers every request against a fake origin straight from build/public_html, +// so no real HTTP server needs to be listening. +async function serveFromDisk(page, rootDir) { + await page.setRequestInterception(true); + + page.on("request", (request) => { + const urlPath = decodeURIComponent(new URL(request.url()).pathname); + const filePath = path.join(rootDir, urlPath); + + if (!filePath.startsWith(rootDir)) { + request.respond({ status: 403 }); + return; + } + + fs.readFile(filePath, (err, data) => { + if (err) { + request.respond({ status: 404 }); + return; + } + + const ext = path.extname(filePath).toLowerCase(); + request.respond({ + status: 200, + contentType: MIME_TYPES[ext] || "application/octet-stream", + body: data, + }); + }); + }); +} + +/* + * Launches Puppeteer, navigates to gen-renders.html, calls fn(page) and + * closes the browser once fn's returned promise settles. + */ +export async function withGenRendersPage(browserProduct, fn) { + if (!fs.existsSync(PUBLIC_DIR)) { + throw new Error(`${PUBLIC_DIR} does not exist. Run "grunt build" first.`); + } + + const browser = await puppeteer.launch({ + browser: browserProduct, + headless: true, + }); + + try { + const page = await browser.newPage(); + + page.on("console", (msg) => console.log(`[page] ${msg.text()}`)); + page.on("pageerror", (err) => console.error(`[page error] ${err}`)); + + await serveFromDisk(page, PUBLIC_DIR); + + await page.goto("http://gen-renders.local/gen-renders.html", { waitUntil: "load" }); + + return await fn(page); + } finally { + await browser.close(); + } +} diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/doc.json b/src/test/resources/reference-files/imsc1/ActiveArea001/doc.json new file mode 100644 index 00000000..486ecc4e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ActiveArea001/doc.json @@ -0,0 +1,280 @@ +{ + "events": [ + 0, + 6 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 24, + "unit": "px" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 24, + "unit": "px" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area3": { + "id": "area3", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 92, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 6, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 24, + "unit": "px" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region is within the editorial area.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region is within the editorial area.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area3", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region is not.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html new file mode 100644 index 00000000..29f89123 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html @@ -0,0 +1,35 @@ +
+
+
+
+

+ +This region is within the editorial area. + +

+
+
+
+
+
+
+

+ +This region is within the editorial area. + +

+
+
+
+
+
+
+

+ +This region is not. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html b/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html new file mode 100644 index 00000000..31b31ba9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html @@ -0,0 +1,8 @@ +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/ActiveArea001/isd/0.000000.json new file mode 100644 index 00000000..2c01f39c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ActiveArea001/isd/0.000000.json @@ -0,0 +1,561 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region is within the editorial area.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region is within the editorial area.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.92 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.06 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region is not.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/ActiveArea001/isd/6.000000.json new file mode 100644 index 00000000..aef34df2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ActiveArea001/isd/6.000000.json @@ -0,0 +1,189 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.92 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.06 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/doc.json b/src/test/resources/reference-files/imsc1/Animation001/doc.json new file mode 100644 index 00000000..28e82f33 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/doc.json @@ -0,0 +1,124 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tThis background of this sentence should change from red to blue at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html new file mode 100644 index 00000000..9370fbe3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This background of this sentence should +change from red to blue at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html new file mode 100644 index 00000000..b2a82714 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This background of this sentence should +change from red to blue at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation001/isd/0.000000.json new file mode 100644 index 00000000..cdeb1164 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This background of this sentence should change from red to blue at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation001/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation001/isd/5.000000.json new file mode 100644 index 00000000..5247df84 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation001/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This background of this sentence should change from red to blue at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/doc.json b/src/test/resources/reference-files/imsc1/Animation002/doc.json new file mode 100644 index 00000000..033b9e12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/doc.json @@ -0,0 +1,124 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ] + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text of this sentence should change from white to yellow at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html new file mode 100644 index 00000000..98f38ba1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text of this sentence should change +from white to yellow at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html new file mode 100644 index 00000000..adb7d76c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text of this sentence should change +from white to yellow at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation002/isd/0.000000.json new file mode 100644 index 00000000..69593b99 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text of this sentence should change from white to yellow at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation002/isd/5.000000.json new file mode 100644 index 00000000..7ddfc293 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation002/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text of this sentence should change from white to yellow at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/doc.json b/src/test/resources/reference-files/imsc1/Animation003/doc.json new file mode 100644 index 00000000..cd2042b7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/doc.json @@ -0,0 +1,108 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text of this sentence should appear at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html new file mode 100644 index 00000000..6fce5357 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text of this sentence should appear at +5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation003/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation003/isd/5.000000.json new file mode 100644 index 00000000..945ed7e0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation003/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text of this sentence should appear at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/doc.json b/src/test/resources/reference-files/imsc1/Animation004/doc.json new file mode 100644 index 00000000..7dd843f3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/doc.json @@ -0,0 +1,112 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "serif" + ] + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sansSerif" + ] + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text of this sentence should change from a serif to a sans serif font at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html new file mode 100644 index 00000000..61c7b76b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text of this sentence should change from a serif to a sans serif +font at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html new file mode 100644 index 00000000..5b082f3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text of this sentence should change from a serif to a +sans serif font at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation004/isd/0.000000.json new file mode 100644 index 00000000..03ed446f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "serif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "serif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text of this sentence should change from a serif to a sans serif font at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation004/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation004/isd/5.000000.json new file mode 100644 index 00000000..3649fb8b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation004/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sansSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text of this sentence should change from a serif to a sans serif font at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/doc.json b/src/test/resources/reference-files/imsc1/Animation007/doc.json new file mode 100644 index 00000000..e51c9339 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/doc.json @@ -0,0 +1,108 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "normal" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This font of this sentence should go from normal to bold at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html new file mode 100644 index 00000000..5be6d74d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This font of this sentence should go from +normal to bold at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html new file mode 100644 index 00000000..ff92fadb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This font of this sentence should go from +normal to bold at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation007/isd/0.000000.json new file mode 100644 index 00000000..88ac1883 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This font of this sentence should go from normal to bold at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation007/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation007/isd/5.000000.json new file mode 100644 index 00000000..2252dd8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation007/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This font of this sentence should go from normal to bold at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/doc.json b/src/test/resources/reference-files/imsc1/Animation008/doc.json new file mode 100644 index 00000000..fd7f8a4f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/doc.json @@ -0,0 +1,134 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 0, + "unit": "px" + } + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This line height of this sentence should ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "go from normal to zero at 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html new file mode 100644 index 00000000..0a2a7b02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This line height of this sentence should + +
+ +go from normal to zero at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html new file mode 100644 index 00000000..1517a80f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This line height of this sentence should + +
+ +go from normal to zero at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation008/isd/0.000000.json new file mode 100644 index 00000000..b4682535 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This line height of this sentence should", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "go from normal to zero at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation008/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation008/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation008/isd/5.000000.json new file mode 100644 index 00000000..1c89b5be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation008/isd/5.000000.json @@ -0,0 +1,246 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This line height of this sentence should", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "go from normal to zero at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/doc.json b/src/test/resources/reference-files/imsc1/Animation012/doc.json new file mode 100644 index 00000000..960e938b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/doc.json @@ -0,0 +1,141 @@ +{ + "events": [ + 0, + 5, + 10, + 16, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This sentence should move right at 5s for 5 seconds\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "begin": 16, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This sentence should move left at 6s for 4 seconds\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html new file mode 100644 index 00000000..130f7aba --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This sentence should move right at 5s for 5 +seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html new file mode 100644 index 00000000..4e110426 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This sentence should move left at 6s for 4 +seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html new file mode 100644 index 00000000..ca33e392 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This sentence should move left at 6s for 4 +seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html new file mode 100644 index 00000000..94c3c38d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This sentence should move right at 5s for 5 +seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation012/isd/0.000000.json new file mode 100644 index 00000000..c897d5db --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This sentence should move right at 5s for 5 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation012/isd/10.000000.json new file mode 100644 index 00000000..13750a46 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This sentence should move left at 6s for 4 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/isd/16.000000.json b/src/test/resources/reference-files/imsc1/Animation012/isd/16.000000.json new file mode 100644 index 00000000..a25dfb28 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/isd/16.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This sentence should move left at 6s for 4 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation012/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation012/isd/5.000000.json new file mode 100644 index 00000000..bb2b3813 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation012/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This sentence should move right at 5s for 5 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/doc.json b/src/test/resources/reference-files/imsc1/Animation013/doc.json new file mode 100644 index 00000000..bdad9ce1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/doc.json @@ -0,0 +1,134 @@ +{ + "events": [ + 0, + 2, + 4, + 6, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ] + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ] + }, + "begin": 2, + "end": "Infinity" + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "begin": 4, + "end": "Infinity" + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ] + }, + "begin": 6, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n \n \n The line should move progressively down through this sentence every 2 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html new file mode 100644 index 00000000..30798e8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The line should move progressively down +through this sentence every 2 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html new file mode 100644 index 00000000..9b646dd1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The line should move progressively down +through this sentence every 2 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html new file mode 100644 index 00000000..a5963208 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The line should move progressively down +through this sentence every 2 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html new file mode 100644 index 00000000..7b78920e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The line should move progressively down +through this sentence every 2 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/0.000000.json new file mode 100644 index 00000000..f1b13d9a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line should move progressively down through this sentence every 2 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/2.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/2.000000.json new file mode 100644 index 00000000..dc84961d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/2.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line should move progressively down through this sentence every 2 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/4.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/4.000000.json new file mode 100644 index 00000000..d0d76e45 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/4.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line should move progressively down through this sentence every 2 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/isd/6.000000.json b/src/test/resources/reference-files/imsc1/Animation013/isd/6.000000.json new file mode 100644 index 00000000..5958c70b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation013/isd/6.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line should move progressively down through this sentence every 2 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/doc.json b/src/test/resources/reference-files/imsc1/Animation014/doc.json new file mode 100644 index 00000000..0c6b71aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/doc.json @@ -0,0 +1,125 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "value": 1, + "unit": "px" + } + } + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text should be outlined in blurred red from 5s to 10s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html new file mode 100644 index 00000000..3c712209 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should be outlined in blurred red +from 5s to 10s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html new file mode 100644 index 00000000..e4c43d6f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should be outlined in blurred red +from 5s to 10s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation014/isd/0.000000.json new file mode 100644 index 00000000..ceed4f52 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should be outlined in blurred red from 5s to 10s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation014/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Animation014/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation014/isd/5.000000.json new file mode 100644 index 00000000..c402bf53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation014/isd/5.000000.json @@ -0,0 +1,201 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.0020833333333333333 + } + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should be outlined in blurred red from 5s to 10s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/doc.json b/src/test/resources/reference-files/imsc1/Animation015/doc.json new file mode 100644 index 00000000..a7a7c26e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/doc.json @@ -0,0 +1,108 @@ +{ + "events": [ + 0, + 3, + 8, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden" + }, + "begin": 3, + "end": 8 + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text should become invisible from 3s to 8s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html new file mode 100644 index 00000000..b8b9ab8c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should become invisible from 3s to +8s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html new file mode 100644 index 00000000..3016d9ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should become invisible from 3s to +8s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html new file mode 100644 index 00000000..b8b9ab8c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should become invisible from 3s to +8s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation015/isd/0.000000.json new file mode 100644 index 00000000..3971c962 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should become invisible from 3s to 8s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation015/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/isd/3.000000.json b/src/test/resources/reference-files/imsc1/Animation015/isd/3.000000.json new file mode 100644 index 00000000..64d4a5e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/isd/3.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "hidden", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should become invisible from 3s to 8s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/isd/8.000000.json b/src/test/resources/reference-files/imsc1/Animation015/isd/8.000000.json new file mode 100644 index 00000000..3971c962 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation015/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should become invisible from 3s to 8s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/doc.json b/src/test/resources/reference-files/imsc1/Animation016/doc.json new file mode 100644 index 00000000..47f21179 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/doc.json @@ -0,0 +1,108 @@ +{ + "events": [ + 0, + 3, + 8, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap" + }, + "begin": 3, + "end": 8 + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html new file mode 100644 index 00000000..2c52ead1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html new file mode 100644 index 00000000..76ba07ce --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This text should start to wrap from 3s to 8s +it is a very long piece of text in order to +ensure that it does in fact hit the region +edges and thus require some wrapping action. +Wrapping is not required to support +hyphenation, so this text should wrap at +whole word boundaries. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html new file mode 100644 index 00000000..2c52ead1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation016/isd/0.000000.json new file mode 100644 index 00000000..bd25c808 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation016/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/isd/3.000000.json b/src/test/resources/reference-files/imsc1/Animation016/isd/3.000000.json new file mode 100644 index 00000000..fa43b0c6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/isd/3.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/isd/8.000000.json b/src/test/resources/reference-files/imsc1/Animation016/isd/8.000000.json new file mode 100644 index 00000000..bd25c808 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation016/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/doc.json b/src/test/resources/reference-files/imsc1/Animation017/doc.json new file mode 100644 index 00000000..40bea55e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/doc.json @@ -0,0 +1,229 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 18, + "unit": "px" + }, + "w": { + "value": 10, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 5, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": 10 + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling zIndex": 2 + }, + "begin": 5, + "end": 10 + } + ], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 0, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 18, + "unit": "px" + }, + "w": { + "value": 10, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 5, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": 10 + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should appear from 0 to 5s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should appear from 5s to 10s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html new file mode 100644 index 00000000..d0b875b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html @@ -0,0 +1,24 @@ +
+
+
+
+

+ +This text should appear from 0 to 5s + +

+
+
+
+
+
+
+

+ +This text should appear from 5s to 10s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html new file mode 100644 index 00000000..1b11d866 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html @@ -0,0 +1,24 @@ +
+
+
+
+

+ +This text should appear from 0 to 5s + +

+
+
+
+
+
+
+

+ +This text should appear from 5s to 10s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation017/isd/0.000000.json new file mode 100644 index 00000000..cca02145 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/isd/0.000000.json @@ -0,0 +1,376 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.0375 + }, + "w": { + "rw": 0.015625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should appear from 0 to 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 0, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.0375 + }, + "w": { + "rw": 0.015625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should appear from 5s to 10s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation017/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation017/isd/5.000000.json new file mode 100644 index 00000000..30e8b3bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation017/isd/5.000000.json @@ -0,0 +1,376 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.0375 + }, + "w": { + "rw": 0.015625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should appear from 0 to 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling zIndex": 2, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.0375 + }, + "w": { + "rw": 0.015625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.010416666666666666 + }, + { + "rw": 0.0078125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should appear from 5s to 10s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/doc.json b/src/test/resources/reference-files/imsc1/Animation018/doc.json new file mode 100644 index 00000000..e3375226 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/doc.json @@ -0,0 +1,111 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ] + }, + "begin": 5, + "end": "Infinity" + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n \n The font family should become \"proportionalSansSerif\" at 5s\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html new file mode 100644 index 00000000..698a8da4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The font family should become +"proportionalSansSerif" at 5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html new file mode 100644 index 00000000..53a8a1eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The font family should become "proportionalSansSerif" at +5s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Animation018/isd/0.000000.json new file mode 100644 index 00000000..0d803c5f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The font family should become \"proportionalSansSerif\" at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Animation018/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Animation018/isd/5.000000.json new file mode 100644 index 00000000..e39ff855 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Animation018/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The font family should become \"proportionalSansSerif\" at 5s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor001/doc.json new file mode 100644 index 00000000..eb1d5e5f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor001/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is green.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html new file mode 100644 index 00000000..b4db5435 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background is green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/0.000000.json new file mode 100644 index 00000000..7807148d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor002/doc.json new file mode 100644 index 00000000..9b156bb2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor002/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 238, + 118, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is light green.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html new file mode 100644 index 00000000..df4980fb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background is light green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/0.000000.json new file mode 100644 index 00000000..1afd6639 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 238, + 118, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is light green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor003/doc.json new file mode 100644 index 00000000..af94780b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor003/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 80 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is green with 50% opacity. ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text is 100% green.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html new file mode 100644 index 00000000..0288737c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +The background is green with 50% opacity. + + +This text is 100% green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/0.000000.json new file mode 100644 index 00000000..1853b658 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/0.000000.json @@ -0,0 +1,238 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 80 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is green with 50% opacity. ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is 100% green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor004/doc.json new file mode 100644 index 00000000..fe81a899 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor004/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is magenta.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html new file mode 100644 index 00000000..e8289262 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background is magenta. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/0.000000.json new file mode 100644 index 00000000..e310fc72 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is magenta.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor005/doc.json new file mode 100644 index 00000000..3ac7ea25 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor005/doc.json @@ -0,0 +1,129 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 50 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is magenta with 50% opacity.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text is 100% magenta.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html new file mode 100644 index 00000000..ec8c83a5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The background is magenta with 50% opacity. + +
+ +This text is 100% magenta. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/0.000000.json new file mode 100644 index 00000000..2f3537df --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 50 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is magenta with 50% opacity.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is 100% magenta.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor006/doc.json new file mode 100644 index 00000000..e954201f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor006/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is transparent.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html new file mode 100644 index 00000000..59e00a2c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background is transparent. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/0.000000.json new file mode 100644 index 00000000..366f44a7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is transparent.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor007/doc.json new file mode 100644 index 00000000..b23e1c2e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor007/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background color is blue.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html new file mode 100644 index 00000000..0119fd39 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background color is blue. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/0.000000.json new file mode 100644 index 00000000..1a293123 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background color is blue.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor008/doc.json new file mode 100644 index 00000000..eb1d5e5f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor008/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background is green.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html new file mode 100644 index 00000000..b4db5435 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background is green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/0.000000.json new file mode 100644 index 00000000..7807148d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background is green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor008/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor009/doc.json new file mode 100644 index 00000000..72431f08 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor009/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The background color is magenta.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html new file mode 100644 index 00000000..f9c28011 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The background color is magenta. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/0.000000.json new file mode 100644 index 00000000..524fd3aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The background color is magenta.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor009/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/doc.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/doc.json new file mode 100644 index 00000000..943af2db --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/doc.json @@ -0,0 +1,759 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "#FFFFFF", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 127 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "#FFFFFF7F", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 128, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "rgb(255,128,255)", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 255, + 255, + 63 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "rgba(128,255,255,63)", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "transparent", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "black", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 192, + 192, + 192, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "silver", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "gray", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 8 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "white", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "maroon", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "red", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 128, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "purple", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 12 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "fuchsia", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "magenta", + "space": "default", + "lang": "en", + "begin": 13, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 13, + "end": 14 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "green", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "lime", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 16 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "olive", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "yellow", + "space": "default", + "lang": "en", + "begin": 17, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 17, + "end": 18 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 128, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "navy", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "blue", + "space": "default", + "lang": "en", + "begin": 19, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 19, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 128, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "teal", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 21 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "aqua", + "space": "default", + "lang": "en", + "begin": 21, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 21, + "end": 22 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "cyan", + "space": "default", + "lang": "en", + "begin": 22, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 22, + "end": 23 + } + ], + "lang": "en", + "begin": 0, + "end": 23 + } + ], + "lang": "en", + "begin": 0, + "end": 23 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html new file mode 100644 index 00000000..e36fc8ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +#FFFFFF + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html new file mode 100644 index 00000000..a532965f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +#FFFFFF7F + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html new file mode 100644 index 00000000..5036e99c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +red + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html new file mode 100644 index 00000000..b0718216 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +purple + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html new file mode 100644 index 00000000..6d1a85d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +fuchsia + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html new file mode 100644 index 00000000..58b4d485 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +magenta + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html new file mode 100644 index 00000000..16ca0674 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +green + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html new file mode 100644 index 00000000..6df6afa4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +lime + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html new file mode 100644 index 00000000..b216e793 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +olive + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html new file mode 100644 index 00000000..bf50ddab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +yellow + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html new file mode 100644 index 00000000..d547e903 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +navy + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html new file mode 100644 index 00000000..6be94b36 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +blue + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html new file mode 100644 index 00000000..47005fb2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +rgb(255,128,255) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html new file mode 100644 index 00000000..0b60a433 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +teal + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html new file mode 100644 index 00000000..898d568c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +aqua + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html new file mode 100644 index 00000000..df718d6d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +cyan + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html new file mode 100644 index 00000000..2facfc40 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +rgba(128,255,255,63) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html new file mode 100644 index 00000000..a995663e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +transparent + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html new file mode 100644 index 00000000..0c8e60fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +black + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html new file mode 100644 index 00000000..45a7f9aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +silver + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html new file mode 100644 index 00000000..8e91b48c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +gray + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html new file mode 100644 index 00000000..682ce299 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +white + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html new file mode 100644 index 00000000..e7a2adf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +maroon + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/0.000000.json new file mode 100644 index 00000000..c37bdbe1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "#FFFFFF", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/1.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/1.000000.json new file mode 100644 index 00000000..2b0d0388 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/1.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 127 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "#FFFFFF7F", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/10.000000.json new file mode 100644 index 00000000..b2505a95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "red", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/11.000000.json new file mode 100644 index 00000000..3af101c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/11.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "purple", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/12.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/12.000000.json new file mode 100644 index 00000000..dcb06431 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/12.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "fuchsia", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/13.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/13.000000.json new file mode 100644 index 00000000..bb531e98 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/13.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "magenta", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/14.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/14.000000.json new file mode 100644 index 00000000..ffa4ccb1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/14.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "green", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/15.000000.json new file mode 100644 index 00000000..caa4f946 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/15.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lime", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/16.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/16.000000.json new file mode 100644 index 00000000..88089076 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/16.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "olive", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/17.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/17.000000.json new file mode 100644 index 00000000..fa32c998 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/17.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "yellow", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/18.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/18.000000.json new file mode 100644 index 00000000..e6766843 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/18.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "navy", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/19.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/19.000000.json new file mode 100644 index 00000000..f5d08fed --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/19.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "blue", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/2.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/2.000000.json new file mode 100644 index 00000000..f4c1818d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/2.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 128, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rgb(255,128,255)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/20.000000.json new file mode 100644 index 00000000..41ba1ed4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/20.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "teal", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/21.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/21.000000.json new file mode 100644 index 00000000..e1153784 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/21.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "aqua", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/22.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/22.000000.json new file mode 100644 index 00000000..0db4474b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/22.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "cyan", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/23.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/23.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/23.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/3.000000.json new file mode 100644 index 00000000..f7331423 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/3.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 255, + 255, + 63 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rgba(128,255,255,63)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/4.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/4.000000.json new file mode 100644 index 00000000..b2b5afc0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/4.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "transparent", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/5.000000.json new file mode 100644 index 00000000..2d2ea254 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "black", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/6.000000.json new file mode 100644 index 00000000..6875f420 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/6.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 192, + 192, + 192, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "silver", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/7.000000.json new file mode 100644 index 00000000..8f5d28f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/7.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "gray", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/8.000000.json new file mode 100644 index 00000000..2c9788e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "white", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/9.000000.json new file mode 100644 index 00000000..1d312a82 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BackgroundColor010/isd/9.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "maroon", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/doc.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/doc.json new file mode 100644 index 00000000..20b74f08 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This first sentence persists for 5 seconds.", + "begin": 0, + "end": 5 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This second sentence persists for 10 seconds", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html new file mode 100644 index 00000000..95f5b43d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This first sentence persists for 5 seconds. + + + + + +This second sentence persists for 10 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html new file mode 100644 index 00000000..ed3a1ecf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This second sentence persists for 10 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/0.000000.json new file mode 100644 index 00000000..fa0f087a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This first sentence persists for 5 seconds.", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This second sentence persists for 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/5.000000.json new file mode 100644 index 00000000..dddda353 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This second sentence persists for 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/doc.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/doc.json new file mode 100644 index 00000000..e771ceaf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/doc.json @@ -0,0 +1,160 @@ +{ + "events": [ + 0, + 5, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This first sentence persists for 5 seconds.", + "begin": 0, + "end": 5 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This second sentence persists for 10 seconds", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This sentence appears at 10 seconds and persists for 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html new file mode 100644 index 00000000..95f5b43d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This first sentence persists for 5 seconds. + + + + + +This second sentence persists for 10 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html new file mode 100644 index 00000000..001c0bf4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This sentence appears at 10 seconds and +persists for 10 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html new file mode 100644 index 00000000..ed3a1ecf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This second sentence persists for 10 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/0.000000.json new file mode 100644 index 00000000..fa0f087a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This first sentence persists for 5 seconds.", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This second sentence persists for 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/10.000000.json new file mode 100644 index 00000000..4b31831e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This sentence appears at 10 seconds and persists for 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/5.000000.json new file mode 100644 index 00000000..dddda353 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This second sentence persists for 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/doc.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/doc.json new file mode 100644 index 00000000..9a23a9ae --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/doc.json @@ -0,0 +1,161 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This first sentence begins at 5 seconds and persists for 5 seconds.", + "begin": 5, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This second sentence should not appear", + "begin": 10, + "end": 15 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This third sentence should not appear", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html new file mode 100644 index 00000000..129a9831 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This first sentence begins at 5 seconds and +persists for 5 seconds. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/5.000000.json new file mode 100644 index 00000000..bb3e7012 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This first sentence begins at 5 seconds and persists for 5 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/doc.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/doc.json new file mode 100644 index 00000000..f07a89cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/doc.json @@ -0,0 +1,161 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This first sentence begins at 5 seconds and persists for 5 seconds.", + "begin": 5, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This second sentence should not appear", + "begin": 10, + "end": 15 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This third sentence should not appear", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html new file mode 100644 index 00000000..129a9831 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This first sentence begins at 5 seconds and +persists for 5 seconds. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/5.000000.json new file mode 100644 index 00000000..bb3e7012 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This first sentence begins at 5 seconds and persists for 5 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming001/doc.json new file mode 100644 index 00000000..f06fa6a9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/doc.json @@ -0,0 +1,113 @@ +{ + "events": [ + 0, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html new file mode 100644 index 00000000..58f7dcf1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and be remain visible to 20 seconds. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/10.000000.json new file mode 100644 index 00000000..1b434aef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/10.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming001/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming002/doc.json new file mode 100644 index 00000000..e3fefdaf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/doc.json @@ -0,0 +1,113 @@ +{ + "events": [ + 0, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and remain visible to 20 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html new file mode 100644 index 00000000..ffcde8cc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and remain visible to 20 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/10.000000.json new file mode 100644 index 00000000..90d880b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/10.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and remain visible to 20 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming003/doc.json new file mode 100644 index 00000000..01c2713b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/doc.json @@ -0,0 +1,113 @@ +{ + "events": [ + 0, + 10, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and remain visible to 20 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html new file mode 100644 index 00000000..ffcde8cc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and remain visible to 20 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/10.000000.json new file mode 100644 index 00000000..90d880b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/10.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and remain visible to 20 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming005/doc.json new file mode 100644 index 00000000..f3714925 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/doc.json @@ -0,0 +1,277 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.05 + }, + "begin": 1, + "end": 2 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.1 + }, + "begin": 2, + "end": 3 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.2 + }, + "begin": 3, + "end": 4 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.3 + }, + "begin": 4, + "end": 5 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.4 + }, + "begin": 5, + "end": 6 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.5 + }, + "begin": 6, + "end": 7 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.6 + }, + "begin": 7, + "end": 8 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.7 + }, + "begin": 8, + "end": 9 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.8 + }, + "begin": 9, + "end": 10 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.9 + }, + "begin": 10, + "end": 11 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 1 + }, + "begin": 11, + "end": 12 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.75 + }, + "begin": 12, + "end": 13 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.5 + }, + "begin": 13, + "end": 14 + }, + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling opacity": 0.25 + }, + "begin": 14, + "end": 15 + } + ], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 24, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling zIndex": 1 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text must start to appear at 1 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n and fade in to 10 seconds then fade out to 15 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html new file mode 100644 index 00000000..d8019d30 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html new file mode 100644 index 00000000..2caed893 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html new file mode 100644 index 00000000..c0021b58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html new file mode 100644 index 00000000..4a7258b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html new file mode 100644 index 00000000..2b331872 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html new file mode 100644 index 00000000..cc0b7188 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html new file mode 100644 index 00000000..0913d8d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html new file mode 100644 index 00000000..7b2454b4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html new file mode 100644 index 00000000..fca8807a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html new file mode 100644 index 00000000..290a8b2a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html new file mode 100644 index 00000000..deb943a4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html new file mode 100644 index 00000000..7f8a5070 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html new file mode 100644 index 00000000..cc0b7188 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html new file mode 100644 index 00000000..906f3cb8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html new file mode 100644 index 00000000..77623a52 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html new file mode 100644 index 00000000..7d010144 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must start to appear at 1 seconds + +
+ +and fade in to 10 seconds then fade out to 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/0.000000.json new file mode 100644 index 00000000..b095f92a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/1.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/1.000000.json new file mode 100644 index 00000000..b9bc4120 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/1.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.05, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/10.000000.json new file mode 100644 index 00000000..c6bf664e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/10.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.9, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/11.000000.json new file mode 100644 index 00000000..d2daf2f4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/11.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/12.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/12.000000.json new file mode 100644 index 00000000..d0507c19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/12.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.75, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/13.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/13.000000.json new file mode 100644 index 00000000..39891084 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/13.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.5, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/14.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/14.000000.json new file mode 100644 index 00000000..e5095367 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/14.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.25, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/15.000000.json new file mode 100644 index 00000000..e3f8ad67 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/15.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/2.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/2.000000.json new file mode 100644 index 00000000..b84409e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/2.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.1, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/3.000000.json new file mode 100644 index 00000000..c07909c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/3.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.2, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/4.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/4.000000.json new file mode 100644 index 00000000..bb17eb9b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/4.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.3, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/5.000000.json new file mode 100644 index 00000000..05979379 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.4, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/6.000000.json new file mode 100644 index 00000000..39891084 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/6.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.5, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/7.000000.json new file mode 100644 index 00000000..1a36155b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/7.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.6, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/8.000000.json new file mode 100644 index 00000000..328acad7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/8.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.7, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/9.000000.json new file mode 100644 index 00000000..d58b5de1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming005/isd/9.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 0.8, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must start to appear at 1 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and fade in to 10 seconds then fade out to 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming006/doc.json new file mode 100644 index 00000000..de3d06f3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming006/doc.json @@ -0,0 +1,112 @@ +{ + "events": [ + 0, + 15 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 0 seconds and disappear at 15 seconds\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must also appear at 0 seconds and disappear at 15 seconds\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html new file mode 100644 index 00000000..abb04bc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This text must appear at 0 seconds and +disappear at 15 seconds + +
+ +This text must also appear at 0 seconds and +disappear at 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming006/isd/0.000000.json new file mode 100644 index 00000000..fce6866b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming006/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 0 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must also appear at 0 seconds and disappear at 15 seconds ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming006/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming006/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming007/doc.json new file mode 100644 index 00000000..4b135673 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 5, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": 5 + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text should appear at 5 seconds and stay till 15 seconds", + "begin": 5, + "end": 15 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text must not appear.\n ", + "space": "default", + "lang": "en", + "begin": 15, + "end": 15 + } + ], + "lang": "en", + "begin": 5, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html new file mode 100644 index 00000000..3418f6fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should appear at 5 seconds and +stay till 15 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/5.000000.json new file mode 100644 index 00000000..24dd85be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming007/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should appear at 5 seconds and stay till 15 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming008/doc.json new file mode 100644 index 00000000..c815209c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/doc.json @@ -0,0 +1,395 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 15, + 21, + 22, + 23, + 24, + 25, + 26 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": 0 + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 6 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 6, + "end": 26 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 5, + "end": 25 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 4 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 4, + "end": 24 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 3 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 3, + "end": 23 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": 22 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": 21 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear\n ", + "space": "default", + "lang": "en", + "begin": 21, + "end": 21 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html new file mode 100644 index 00000000..7868ea20 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ + +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html new file mode 100644 index 00000000..fb5ce046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html @@ -0,0 +1,24 @@ +
+
+
+
+

+ + + +This text must appear at 2 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html new file mode 100644 index 00000000..f374ba0d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html @@ -0,0 +1,31 @@ +
+
+
+
+

+ + + + +This text must appear at 3 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 2 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html new file mode 100644 index 00000000..184bf26f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html @@ -0,0 +1,38 @@ +
+
+
+
+

+ + + + + +This text must appear at 4 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 3 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 2 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html new file mode 100644 index 00000000..2d33ae65 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html @@ -0,0 +1,45 @@ +
+
+
+
+

+ + + + + + +This text must appear at 5 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 4 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 3 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 2 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html new file mode 100644 index 00000000..b26bc031 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html @@ -0,0 +1,52 @@ +
+
+
+
+

+ + + + + + + +This text must appear at 6 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 5 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 4 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 3 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 2 seconds and +disappear at 15 seconds + +
+
+ +This text must appear at 1 seconds and +disappear at 15 seconds + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/1.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/1.000000.json new file mode 100644 index 00000000..867dc47f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/1.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/2.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/2.000000.json new file mode 100644 index 00000000..bca6052a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/2.000000.json @@ -0,0 +1,346 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/21.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/21.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/21.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/22.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/22.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/22.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/23.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/23.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/23.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/24.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/24.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/24.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/25.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/26.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/26.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/26.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/3.000000.json new file mode 100644 index 00000000..471970e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/3.000000.json @@ -0,0 +1,448 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 3 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/4.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/4.000000.json new file mode 100644 index 00000000..3b683d21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/4.000000.json @@ -0,0 +1,550 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 4 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 3 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/5.000000.json new file mode 100644 index 00000000..52c9b0a5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/5.000000.json @@ -0,0 +1,652 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 4 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 3 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/6.000000.json new file mode 100644 index 00000000..bf74bb85 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming008/isd/6.000000.json @@ -0,0 +1,754 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 6 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 4 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 3 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 2 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 1 seconds and disappear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming010/doc.json new file mode 100644 index 00000000..d726ce02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/doc.json @@ -0,0 +1,158 @@ +{ + "events": [ + 0, + 10, + 24.4, + 25, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text must appear at 10 seconds and disappear at 24.4 seconds", + "begin": 10, + "end": 24.4 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text must appear at 25 seconds and disappear at 35 seconds", + "begin": 25, + "end": 35 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 30, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html new file mode 100644 index 00000000..35d26227 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +This text must appear at 10 seconds and +disappear at 24.4 seconds + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html new file mode 100644 index 00000000..43d8d785 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html @@ -0,0 +1,11 @@ +
+
+
+
+

+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html new file mode 100644 index 00000000..8f98b12a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+
+ +This text must appear at 25 seconds and +disappear at 35 seconds + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html new file mode 100644 index 00000000..43d8d785 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html @@ -0,0 +1,11 @@ +
+
+
+
+

+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/10.000000.json new file mode 100644 index 00000000..4a14779c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/10.000000.json @@ -0,0 +1,195 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds and disappear at 24.4 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/24.400000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/24.400000.json new file mode 100644 index 00000000..bbf09fb0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/24.400000.json @@ -0,0 +1,147 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/25.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/25.000000.json new file mode 100644 index 00000000..cae7db03 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/25.000000.json @@ -0,0 +1,195 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 25 seconds and disappear at 35 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/35.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/35.000000.json new file mode 100644 index 00000000..bbf09fb0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/35.000000.json @@ -0,0 +1,147 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/isd/40.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming010/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming011/doc.json new file mode 100644 index 00000000..c2bd02bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/doc.json @@ -0,0 +1,581 @@ +{ + "events": [ + 0, + 0.1875, + 0.375, + 0.5625, + 0.75, + 0.9375, + 1.125, + 1.3125, + 1.5, + 1.6875, + 1.875, + 2.0625, + 2.25, + 2.4375, + 2.625, + 2.8125, + 3 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "rollup": { + "id": "rollup", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 90, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "rollup", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "rollup", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This ", + "begin": 0.1875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "text ", + "begin": 0.375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "should ", + "begin": 0.5625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0.75, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "appear ", + "space": "default", + "lang": "en", + "begin": 0.75, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0.75, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "one ", + "begin": 0.9375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "word ", + "begin": 1.125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1.3125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "At ", + "space": "default", + "lang": "en", + "begin": 1.3125, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1.3125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "a ", + "begin": 1.5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "time ", + "begin": 1.6875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1.875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "spread ", + "space": "default", + "lang": "en", + "begin": 1.875, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1.875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "over ", + "begin": 2.0625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "four ", + "begin": 2.25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "lines", + "space": "default", + "lang": "en", + "begin": 2.4375, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2.4375, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2.4375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2.625, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2.625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2.8125, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2.8125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html new file mode 100644 index 00000000..4a9fb4ba --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html new file mode 100644 index 00000000..f726a7cd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html new file mode 100644 index 00000000..05f32f6a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +This + + +text + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html new file mode 100644 index 00000000..e2ce0d80 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This + + +text + + +should + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html new file mode 100644 index 00000000..12fa2921 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html @@ -0,0 +1,25 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html new file mode 100644 index 00000000..22169d32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html new file mode 100644 index 00000000..c65582f5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html @@ -0,0 +1,31 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html new file mode 100644 index 00000000..2edc12b2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html @@ -0,0 +1,37 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html new file mode 100644 index 00000000..07045a92 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html new file mode 100644 index 00000000..d7472e2b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html new file mode 100644 index 00000000..964a5bb7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html @@ -0,0 +1,49 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html new file mode 100644 index 00000000..6fe0f4cb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html @@ -0,0 +1,52 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html new file mode 100644 index 00000000..59935cac --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html @@ -0,0 +1,55 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + + +four + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html new file mode 100644 index 00000000..3ee98f96 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html @@ -0,0 +1,61 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + + +four + + + +lines + +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html new file mode 100644 index 00000000..a2d77fbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html @@ -0,0 +1,64 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + + +four + + + +lines + +
+
+ +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html new file mode 100644 index 00000000..bc943218 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html @@ -0,0 +1,67 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + + +four + + + +lines + +
+
+ +
+
+ +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html new file mode 100644 index 00000000..5691e37f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html @@ -0,0 +1,70 @@ +
+
+
+
+

+ +This + + +text + + +should + + +
+ +appear + +
+ +one + + +word + + +
+ +At + +
+ +a + + +time + + +
+ +spread + +
+ +over + + +four + + + +lines + +
+
+ +
+
+ +
+
+ +
+
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.000000.json new file mode 100644 index 00000000..859c4a60 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.187500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.187500.json new file mode 100644 index 00000000..59db1f64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.187500.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.375000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.375000.json new file mode 100644 index 00000000..f3d98f94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.375000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.562500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.562500.json new file mode 100644 index 00000000..6eeb4a0e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.562500.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.750000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.750000.json new file mode 100644 index 00000000..3b20290d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.750000.json @@ -0,0 +1,389 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.937500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.937500.json new file mode 100644 index 00000000..034924e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/0.937500.json @@ -0,0 +1,437 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.125000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.125000.json new file mode 100644 index 00000000..68d51110 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.125000.json @@ -0,0 +1,485 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.312500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.312500.json new file mode 100644 index 00000000..470bd3b7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.312500.json @@ -0,0 +1,587 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.500000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.500000.json new file mode 100644 index 00000000..96715b2d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.500000.json @@ -0,0 +1,635 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.687500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.687500.json new file mode 100644 index 00000000..acf4e877 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.687500.json @@ -0,0 +1,683 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.875000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.875000.json new file mode 100644 index 00000000..01df6310 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/1.875000.json @@ -0,0 +1,785 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.062500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.062500.json new file mode 100644 index 00000000..0f30e7bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.062500.json @@ -0,0 +1,833 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.250000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.250000.json new file mode 100644 index 00000000..f4571b1b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.250000.json @@ -0,0 +1,881 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "four", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.437500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.437500.json new file mode 100644 index 00000000..e43fc927 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.437500.json @@ -0,0 +1,983 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "four ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.625000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.625000.json new file mode 100644 index 00000000..66b174c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.625000.json @@ -0,0 +1,1037 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "four ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.812500.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.812500.json new file mode 100644 index 00000000..69e09f21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/2.812500.json @@ -0,0 +1,1091 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "four ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/3.000000.json new file mode 100644 index 00000000..cee126a4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming011/isd/3.000000.json @@ -0,0 +1,1145 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "rollup", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "word", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "At ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "time", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "spread ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "over ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "four ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/doc.json b/src/test/resources/reference-files/imsc1/BasicTiming012/doc.json new file mode 100644 index 00000000..11d6783d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/doc.json @@ -0,0 +1,528 @@ +{ + "events": [ + 0, + 0.1875, + 0.375, + 0.5625, + 0.75, + 0.9375, + 1.125, + 1.3125, + 1.5, + 1.6875, + 1.875, + 2.0625, + 2.25, + 2.4375, + 2.625, + 2.8125, + 3, + 3.1875, + 3.375 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "crawl": { + "id": "crawl", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 4, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "crawl", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This ", + "begin": 0.1875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "text ", + "begin": 0.375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "should ", + "begin": 0.5625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "appear ", + "begin": 0.75, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "on ", + "begin": 0.9375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "one ", + "begin": 1.125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line ", + "begin": 1.3125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "scrolling ", + "begin": 1.5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "from ", + "begin": 1.6875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "right ", + "begin": 1.875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "to ", + "begin": 2.0625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "left ", + "begin": 2.25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 2.4375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 2.625, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 2.8125, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 3.1875, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 3.375, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html new file mode 100644 index 00000000..d753ab03 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html new file mode 100644 index 00000000..9dc95f23 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html new file mode 100644 index 00000000..d25021fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +This + + +text + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html new file mode 100644 index 00000000..17d2dab6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This + + +text + + +should + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html new file mode 100644 index 00000000..b13f4d19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html new file mode 100644 index 00000000..79d3f3c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html @@ -0,0 +1,25 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html new file mode 100644 index 00000000..a48abc37 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html new file mode 100644 index 00000000..24cf2089 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html @@ -0,0 +1,31 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html new file mode 100644 index 00000000..5d36eeec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html @@ -0,0 +1,34 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html new file mode 100644 index 00000000..18297f3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html @@ -0,0 +1,37 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html new file mode 100644 index 00000000..9e1854c2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html new file mode 100644 index 00000000..713d73d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html new file mode 100644 index 00000000..c3380d12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html @@ -0,0 +1,46 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html new file mode 100644 index 00000000..0b8806a8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html @@ -0,0 +1,49 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html new file mode 100644 index 00000000..13bac0e1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html @@ -0,0 +1,52 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html new file mode 100644 index 00000000..f1401f28 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html @@ -0,0 +1,55 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html new file mode 100644 index 00000000..4c067858 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html @@ -0,0 +1,58 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html new file mode 100644 index 00000000..7f699ca6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html @@ -0,0 +1,61 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + + + + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html new file mode 100644 index 00000000..e4154131 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html @@ -0,0 +1,64 @@ +
+
+
+
+

+ +This + + +text + + +should + + +appear + + +on + + +one + + +line + + +scrolling + + +from + + +right + + +to + + +left + + + + + + + + + + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.000000.json new file mode 100644 index 00000000..d45cdb72 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.187500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.187500.json new file mode 100644 index 00000000..7f8b22d0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.187500.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.375000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.375000.json new file mode 100644 index 00000000..e8db8a3d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.375000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.562500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.562500.json new file mode 100644 index 00000000..066990f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.562500.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.750000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.750000.json new file mode 100644 index 00000000..cc524e57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.750000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.937500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.937500.json new file mode 100644 index 00000000..385f38a4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/0.937500.json @@ -0,0 +1,383 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.125000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.125000.json new file mode 100644 index 00000000..2aecc398 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.125000.json @@ -0,0 +1,431 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.312500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.312500.json new file mode 100644 index 00000000..781225eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.312500.json @@ -0,0 +1,479 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.500000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.500000.json new file mode 100644 index 00000000..67cd102f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.500000.json @@ -0,0 +1,527 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.687500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.687500.json new file mode 100644 index 00000000..19442d0c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.687500.json @@ -0,0 +1,575 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.875000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.875000.json new file mode 100644 index 00000000..7e5affbc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/1.875000.json @@ -0,0 +1,623 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.062500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.062500.json new file mode 100644 index 00000000..3ca7e76c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.062500.json @@ -0,0 +1,671 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.250000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.250000.json new file mode 100644 index 00000000..7c08e628 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.250000.json @@ -0,0 +1,719 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.437500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.437500.json new file mode 100644 index 00000000..08294246 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.437500.json @@ -0,0 +1,767 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.625000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.625000.json new file mode 100644 index 00000000..ab7d03d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.625000.json @@ -0,0 +1,815 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.812500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.812500.json new file mode 100644 index 00000000..15aa1624 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/2.812500.json @@ -0,0 +1,863 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.000000.json new file mode 100644 index 00000000..4c8871a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.000000.json @@ -0,0 +1,911 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.187500.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.187500.json new file mode 100644 index 00000000..06363b2b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.187500.json @@ -0,0 +1,959 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.375000.json b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.375000.json new file mode 100644 index 00000000..8800a9a1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BasicTiming012/isd/3.375000.json @@ -0,0 +1,1007 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "crawl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.04 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "text ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "should ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "scrolling ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "to ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/doc.json b/src/test/resources/reference-files/imsc1/BeginDur001/doc.json new file mode 100644 index 00000000..cba130bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/doc.json @@ -0,0 +1,295 @@ +{ + "events": [ + 0, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is going to display a message", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "every other second.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "From 6s to 7s,", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 8s to 9s,", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 10s to 11s,", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 12s to 13s,", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 14s to 15s,", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 16s to 17s,", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "and, from 18s to 19s.", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html new file mode 100644 index 00000000..107f90eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This test is going to display a message + +
+ +every other second. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html new file mode 100644 index 00000000..f800b3be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 10s to 11s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html new file mode 100644 index 00000000..7e99a546 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 12s to 13s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html new file mode 100644 index 00000000..c36fafe7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 14s to 15s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html new file mode 100644 index 00000000..505e4e3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 16s to 17s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html new file mode 100644 index 00000000..69f9fb97 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +and, from 18s to 19s. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html new file mode 100644 index 00000000..82d995bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html new file mode 100644 index 00000000..74b9cb21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +From 6s to 7s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html new file mode 100644 index 00000000..87bb5219 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 8s to 9s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/0.000000.json new file mode 100644 index 00000000..5546f4d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is going to display a message", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "every other second.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/10.000000.json new file mode 100644 index 00000000..722a29ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 10s to 11s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/11.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/11.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/12.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/12.000000.json new file mode 100644 index 00000000..20233a5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/12.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 12s to 13s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/13.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/13.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/13.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/14.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/14.000000.json new file mode 100644 index 00000000..817102ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/14.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 14s to 15s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/16.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/16.000000.json new file mode 100644 index 00000000..5f0578dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/16.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 16s to 17s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/17.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/17.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/17.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/18.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/18.000000.json new file mode 100644 index 00000000..79c4420e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/18.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and, from 18s to 19s.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/19.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/19.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/19.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/20.000000.json new file mode 100644 index 00000000..26197046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/20.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/25.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/6.000000.json new file mode 100644 index 00000000..3133434b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/6.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "From 6s to 7s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/7.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/7.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/8.000000.json new file mode 100644 index 00000000..f6ee022f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 8s to 9s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BeginDur001/isd/9.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginDur001/isd/9.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/doc.json b/src/test/resources/reference-files/imsc1/BeginEnd001/doc.json new file mode 100644 index 00000000..cba130bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/doc.json @@ -0,0 +1,295 @@ +{ + "events": [ + 0, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is going to display a message", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "every other second.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "From 6s to 7s,", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 8s to 9s,", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 10s to 11s,", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 12s to 13s,", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 14s to 15s,", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 16s to 17s,", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "and, from 18s to 19s.", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html new file mode 100644 index 00000000..107f90eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This test is going to display a message + +
+ +every other second. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html new file mode 100644 index 00000000..f800b3be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 10s to 11s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html new file mode 100644 index 00000000..7e99a546 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 12s to 13s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html new file mode 100644 index 00000000..c36fafe7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 14s to 15s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html new file mode 100644 index 00000000..505e4e3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 16s to 17s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html new file mode 100644 index 00000000..69f9fb97 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +and, from 18s to 19s. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html new file mode 100644 index 00000000..82d995bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html new file mode 100644 index 00000000..74b9cb21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +From 6s to 7s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html new file mode 100644 index 00000000..87bb5219 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 8s to 9s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/0.000000.json new file mode 100644 index 00000000..5546f4d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is going to display a message", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "every other second.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/10.000000.json new file mode 100644 index 00000000..722a29ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 10s to 11s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/11.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/11.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/12.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/12.000000.json new file mode 100644 index 00000000..20233a5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/12.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 12s to 13s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/13.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/13.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/13.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/14.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/14.000000.json new file mode 100644 index 00000000..817102ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/14.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 14s to 15s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/16.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/16.000000.json new file mode 100644 index 00000000..5f0578dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/16.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 16s to 17s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/17.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/17.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/17.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/18.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/18.000000.json new file mode 100644 index 00000000..79c4420e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/18.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and, from 18s to 19s.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/19.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/19.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/19.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/20.000000.json new file mode 100644 index 00000000..26197046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/20.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/25.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/6.000000.json new file mode 100644 index 00000000..3133434b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/6.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "From 6s to 7s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/7.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/7.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/8.000000.json new file mode 100644 index 00000000..f6ee022f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 8s to 9s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/9.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd001/isd/9.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/doc.json b/src/test/resources/reference-files/imsc1/BeginEnd002/doc.json new file mode 100644 index 00000000..f1ce968d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/doc.json @@ -0,0 +1,538 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "0", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "1", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "2", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "3", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "4", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "5", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "6", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "7", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "8", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "9", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "10", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html new file mode 100644 index 00000000..9d60dec2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html new file mode 100644 index 00000000..a3962466 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html @@ -0,0 +1,26 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html new file mode 100644 index 00000000..fa62744a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html @@ -0,0 +1,107 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html new file mode 100644 index 00000000..67936e7a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html @@ -0,0 +1,112 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html new file mode 100644 index 00000000..b7043f53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html @@ -0,0 +1,35 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html new file mode 100644 index 00000000..fa62744a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html @@ -0,0 +1,107 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html new file mode 100644 index 00000000..23342dec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html @@ -0,0 +1,44 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html new file mode 100644 index 00000000..d8cf0f3e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html @@ -0,0 +1,53 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html new file mode 100644 index 00000000..43f7f9e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html @@ -0,0 +1,62 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html new file mode 100644 index 00000000..b96d7438 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html @@ -0,0 +1,71 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html new file mode 100644 index 00000000..1cbfbc05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html @@ -0,0 +1,80 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html new file mode 100644 index 00000000..bb540a29 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html @@ -0,0 +1,89 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html new file mode 100644 index 00000000..c5a6d19e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html @@ -0,0 +1,98 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/0.000000.json new file mode 100644 index 00000000..a4f1dff4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/1.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/1.000000.json new file mode 100644 index 00000000..ccc3484d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/1.000000.json @@ -0,0 +1,386 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/10.000000.json new file mode 100644 index 00000000..7169b542 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/10.000000.json @@ -0,0 +1,1664 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/11.000000.json new file mode 100644 index 00000000..a7367f86 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/11.000000.json @@ -0,0 +1,1753 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/2.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/2.000000.json new file mode 100644 index 00000000..74269fc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/2.000000.json @@ -0,0 +1,528 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/20.000000.json new file mode 100644 index 00000000..7169b542 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/20.000000.json @@ -0,0 +1,1664 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/3.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/3.000000.json new file mode 100644 index 00000000..a2a4c240 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/3.000000.json @@ -0,0 +1,670 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/4.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/4.000000.json new file mode 100644 index 00000000..6635e917 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/4.000000.json @@ -0,0 +1,812 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/5.000000.json new file mode 100644 index 00000000..f1f51ced --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/5.000000.json @@ -0,0 +1,954 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/6.000000.json new file mode 100644 index 00000000..a06bafd4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/6.000000.json @@ -0,0 +1,1096 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/7.000000.json new file mode 100644 index 00000000..76c74dc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/7.000000.json @@ -0,0 +1,1238 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/8.000000.json new file mode 100644 index 00000000..819b16a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/8.000000.json @@ -0,0 +1,1380 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/9.000000.json new file mode 100644 index 00000000..523f2d70 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd002/isd/9.000000.json @@ -0,0 +1,1522 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/doc.json b/src/test/resources/reference-files/imsc1/BeginEnd003/doc.json new file mode 100644 index 00000000..73308641 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/doc.json @@ -0,0 +1,295 @@ +{ + "events": [ + 0, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is going to display a message", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "every other second.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "and, from 18s to 19s.", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 10s to 11s,", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 14s to 15s,", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 8s to 9s,", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "From 6s to 7s,", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 16s to 17s,", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "from 12s to 13s,", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html new file mode 100644 index 00000000..107f90eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This test is going to display a message + +
+ +every other second. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html new file mode 100644 index 00000000..f800b3be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 10s to 11s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html new file mode 100644 index 00000000..7e99a546 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 12s to 13s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html new file mode 100644 index 00000000..c36fafe7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 14s to 15s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html new file mode 100644 index 00000000..505e4e3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 16s to 17s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html new file mode 100644 index 00000000..69f9fb97 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +and, from 18s to 19s. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html new file mode 100644 index 00000000..82d995bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html new file mode 100644 index 00000000..74b9cb21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +From 6s to 7s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html new file mode 100644 index 00000000..87bb5219 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +from 8s to 9s, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/0.000000.json new file mode 100644 index 00000000..5546f4d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is going to display a message", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "every other second.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/10.000000.json new file mode 100644 index 00000000..722a29ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 10s to 11s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/11.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/11.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/11.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/12.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/12.000000.json new file mode 100644 index 00000000..20233a5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/12.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 12s to 13s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/13.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/13.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/13.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/14.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/14.000000.json new file mode 100644 index 00000000..817102ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/14.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 14s to 15s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/16.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/16.000000.json new file mode 100644 index 00000000..5f0578dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/16.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 16s to 17s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/17.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/17.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/17.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/18.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/18.000000.json new file mode 100644 index 00000000..79c4420e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/18.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and, from 18s to 19s.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/19.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/19.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/19.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/20.000000.json new file mode 100644 index 00000000..26197046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/20.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/25.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/6.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/6.000000.json new file mode 100644 index 00000000..3133434b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/6.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "From 6s to 7s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/7.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/7.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/7.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/8.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/8.000000.json new file mode 100644 index 00000000..f6ee022f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/8.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "from 8s to 9s,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/isd/9.000000.json b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/9.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/BeginEnd003/isd/9.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/doc.json b/src/test/resources/reference-files/imsc1/Br001/doc.json new file mode 100644 index 00000000..b9f1ff5b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Br001/doc.json @@ -0,0 +1,112 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be on the first line.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "This text on a second line.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html new file mode 100644 index 00000000..e4374763 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must be on the first line. + +
+ +This text on a second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Br001/isd/0.000000.json new file mode 100644 index 00000000..bf00da8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Br001/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be on the first line.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text on a second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Br001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Br001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/doc.json b/src/test/resources/reference-files/imsc1/Color001/doc.json new file mode 100644 index 00000000..7e90f901 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color001/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color001/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/doc.json b/src/test/resources/reference-files/imsc1/Color002/doc.json new file mode 100644 index 00000000..7e90f901 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color002/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color002/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/doc.json b/src/test/resources/reference-files/imsc1/Color003/doc.json new file mode 100644 index 00000000..cfe44d55 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color003/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This is the red color as a reference.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 136 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text must be semi-transparent red.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html new file mode 100644 index 00000000..0fab0bfb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This is the red color as a reference. + +
+ +This text must be semi-transparent red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color003/isd/0.000000.json new file mode 100644 index 00000000..7c8ce89a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color003/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the red color as a reference.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 136 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be semi-transparent red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/doc.json b/src/test/resources/reference-files/imsc1/Color004/doc.json new file mode 100644 index 00000000..c728d69f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color004/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be green.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html new file mode 100644 index 00000000..c16dfda8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color004/isd/0.000000.json new file mode 100644 index 00000000..2fd7ac4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color004/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/doc.json b/src/test/resources/reference-files/imsc1/Color005/doc.json new file mode 100644 index 00000000..6453a13c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color005/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This is the green color as a reference.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 128 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text must be semi-transparent green.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html new file mode 100644 index 00000000..ec73ebbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This is the green color as a reference. + +
+ +This text must be semi-transparent green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color005/isd/0.000000.json new file mode 100644 index 00000000..0f9fe75f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color005/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the green color as a reference.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be semi-transparent green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/doc.json b/src/test/resources/reference-files/imsc1/Color007/doc.json new file mode 100644 index 00000000..5f9c02c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color007/doc.json @@ -0,0 +1,130 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "You must not see the word \"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 0 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "transparent", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html new file mode 100644 index 00000000..4152bf4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +You must not see the word " + + +transparent + + +". + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color007/isd/0.000000.json new file mode 100644 index 00000000..a47cc863 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color007/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "You must not see the word \"", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "transparent", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "\".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/doc.json b/src/test/resources/reference-files/imsc1/Color008/doc.json new file mode 100644 index 00000000..8ac3047f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color008/doc.json @@ -0,0 +1,159 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This word must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "red", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and this one ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "green", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html new file mode 100644 index 00000000..9b4abcc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html @@ -0,0 +1,26 @@ +
+
+
+
+

+ +This word must be + + +red + +
+ +and this one + + +green + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color008/isd/0.000000.json new file mode 100644 index 00000000..b7c7c931 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color008/isd/0.000000.json @@ -0,0 +1,387 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This word must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "red", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and this one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "green", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color008/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color008/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/doc.json b/src/test/resources/reference-files/imsc1/Color009/doc.json new file mode 100644 index 00000000..0495c5dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color009/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Color009/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color009/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Color009/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Color009/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/doc.json b/src/test/resources/reference-files/imsc1/Direction001/doc.json new file mode 100644 index 00000000..94caea83 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction001/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html new file mode 100644 index 00000000..5df9e292 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction001/isd/0.000000.json new file mode 100644 index 00000000..fca92008 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/doc.json b/src/test/resources/reference-files/imsc1/Direction002/doc.json new file mode 100644 index 00000000..94caea83 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction002/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html new file mode 100644 index 00000000..5df9e292 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction002/isd/0.000000.json new file mode 100644 index 00000000..fca92008 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/doc.json b/src/test/resources/reference-files/imsc1/Direction003/doc.json new file mode 100644 index 00000000..c359c077 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction003/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html new file mode 100644 index 00000000..e836e5d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction003/isd/0.000000.json new file mode 100644 index 00000000..4e473503 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/doc.json b/src/test/resources/reference-files/imsc1/Direction004/doc.json new file mode 100644 index 00000000..ba747d5f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction004/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last three words are displayed", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "right to left.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html new file mode 100644 index 00000000..d0d50187 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The last three words are displayed + +
+ +right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction004/isd/0.000000.json new file mode 100644 index 00000000..51962dd6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction004/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last three words are displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/doc.json b/src/test/resources/reference-files/imsc1/Direction005/doc.json new file mode 100644 index 00000000..c359c077 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction005/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html new file mode 100644 index 00000000..e836e5d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction005/isd/0.000000.json new file mode 100644 index 00000000..4e473503 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction005/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/doc.json b/src/test/resources/reference-files/imsc1/Direction006/doc.json new file mode 100644 index 00000000..391eeb68 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction006/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last three words are displayed", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "left to right.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html new file mode 100644 index 00000000..b01bca90 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The last three words are displayed + +
+ +left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Direction006/isd/0.000000.json new file mode 100644 index 00000000..48d5fc48 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction006/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last three words are displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Direction006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Direction006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/doc.json b/src/test/resources/reference-files/imsc1/Display001/doc.json new file mode 100644 index 00000000..3fb330e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display001/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html new file mode 100644 index 00000000..aeeb8ed9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Display001/isd/0.000000.json new file mode 100644 index 00000000..e0669930 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Display001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/doc.json b/src/test/resources/reference-files/imsc1/Display002/doc.json new file mode 100644 index 00000000..9c95fc45 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Only the first caption is visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The second caption is not visible.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html new file mode 100644 index 00000000..269946d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Only the first caption is visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Display002/isd/0.000000.json new file mode 100644 index 00000000..6174c8c2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Only the first caption is visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Display002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Display002/isd/5.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display002/isd/5.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/doc.json b/src/test/resources/reference-files/imsc1/Display004/doc.json new file mode 100644 index 00000000..3b19b697 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display004/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is not displayed.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Display004/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display004/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Display004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Display004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/doc.json b/src/test/resources/reference-files/imsc1/DisplayAlign001/doc.json new file mode 100644 index 00000000..fd7efeb0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign001/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is aligned with", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "the before edge of the region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html new file mode 100644 index 00000000..816be031 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is aligned with + +
+ +the before edge of the region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/0.000000.json new file mode 100644 index 00000000..45de5c1b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is aligned with", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the before edge of the region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/10.000000.json new file mode 100644 index 00000000..b0b1da38 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/doc.json b/src/test/resources/reference-files/imsc1/DisplayAlign002/doc.json new file mode 100644 index 00000000..a41d2fdc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign002/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is aligned with", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "the after edge of the region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html new file mode 100644 index 00000000..76f4a66a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is aligned with + +
+ +the after edge of the region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html new file mode 100644 index 00000000..b84d503c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/0.000000.json new file mode 100644 index 00000000..ddfca480 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is aligned with", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the after edge of the region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/10.000000.json new file mode 100644 index 00000000..00a7fd88 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/doc.json b/src/test/resources/reference-files/imsc1/DisplayAlign003/doc.json new file mode 100644 index 00000000..e580a2ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign003/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is aligned in", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "the center of the region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html new file mode 100644 index 00000000..f188ea0b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is aligned in + +
+ +the center of the region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html new file mode 100644 index 00000000..cbeaf967 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/0.000000.json new file mode 100644 index 00000000..62464d49 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is aligned in", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the center of the region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/10.000000.json new file mode 100644 index 00000000..1c80120e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign003/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/doc.json b/src/test/resources/reference-files/imsc1/DisplayAlign004/doc.json new file mode 100644 index 00000000..7ed92d33 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign004/doc.json @@ -0,0 +1,134 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "tbrlCenter": { + "id": "tbrlCenter", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 35, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "jp", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrlCenter", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "あいAB34三四", + "space": "default", + "lang": "jp", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "jp", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "jp", + "begin": 0, + "end": 1 + } + ], + "lang": "jp", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "jp" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html new file mode 100644 index 00000000..9090ccff --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +あいAB34三四 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/0.000000.json new file mode 100644 index 00000000..74496d0a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "jp", + "id": "tbrlCenter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.35, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "jp", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "jp", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "jp", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "jp", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あいAB34三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "jp" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/1.000000.json b/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/1.000000.json new file mode 100644 index 00000000..6488268b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DisplayAlign004/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "jp" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/doc.json b/src/test/resources/reference-files/imsc1/Div001/doc.json new file mode 100644 index 00000000..28e88fa0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/doc.json @@ -0,0 +1,190 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be green.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 15 + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html new file mode 100644 index 00000000..65b61891 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+
+

+ +This text must be red. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html new file mode 100644 index 00000000..b360c69b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+
+

+ +This test is over. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html new file mode 100644 index 00000000..48d5911b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+
+

+ +This text must be green. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Div001/isd/0.000000.json new file mode 100644 index 00000000..40254cc3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/isd/0.000000.json @@ -0,0 +1,207 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Div001/isd/10.000000.json new file mode 100644 index 00000000..abb26209 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/isd/10.000000.json @@ -0,0 +1,207 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/isd/15.000000.json b/src/test/resources/reference-files/imsc1/Div001/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Div001/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Div001/isd/5.000000.json new file mode 100644 index 00000000..9e5336cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div001/isd/5.000000.json @@ -0,0 +1,207 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/doc.json b/src/test/resources/reference-files/imsc1/Div002/doc.json new file mode 100644 index 00000000..e01f1a61 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/doc.json @@ -0,0 +1,219 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be green.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 15 + } + ], + "lang": "en", + "begin": 10, + "end": 15 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 15, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html new file mode 100644 index 00000000..82d995bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html new file mode 100644 index 00000000..c16dfda8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be green. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/10.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/15.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/15.000000.json new file mode 100644 index 00000000..26197046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/15.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/25.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Div002/isd/5.000000.json new file mode 100644 index 00000000..2fd7ac4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div002/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be green.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/doc.json b/src/test/resources/reference-files/imsc1/Div003/doc.json new file mode 100644 index 00000000..821e923e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/doc.json @@ -0,0 +1,219 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Ce texte doit être vert.", + "space": "default", + "lang": "fr", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "fr", + "begin": 5, + "end": 10 + } + ], + "lang": "fr", + "begin": 5, + "end": 10 + }, + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "このテキストは赤くなければならない。", + "space": "default", + "lang": "ja", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 10, + "end": 15 + } + ], + "lang": "ja", + "begin": 10, + "end": 15 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 15, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html new file mode 100644 index 00000000..3fde9fe1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +このテキストは赤くなければならない。 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html new file mode 100644 index 00000000..82d995bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html new file mode 100644 index 00000000..8c0fff3d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Ce texte doit être vert. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/10.000000.json new file mode 100644 index 00000000..7bbe3a4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/10.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "このテキストは赤くなければならない。", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/15.000000.json new file mode 100644 index 00000000..26197046 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/15.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/25.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Div003/isd/5.000000.json new file mode 100644 index 00000000..47d10312 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Div003/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "fr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "fr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "fr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ce texte doit être vert.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/doc.json b/src/test/resources/reference-files/imsc1/DocumentExample120/doc.json new file mode 100644 index 00000000..e28565b8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/doc.json @@ -0,0 +1,514 @@ +{ + "events": [ + 0, + 0.76, + 3.45, + 5, + 10, + 16, + 17.2, + 23, + 27, + 28, + 34.6, + 45, + 52, + 53.5, + 58.7 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tIt seems a paradox, does it not,\n ", + "space": "default", + "lang": "en", + "begin": 0.76, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0.76, + "end": 3.45 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tthat the image formed on", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n the Retina should be inverted?\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tIt is puzzling, why is it", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\twe do not see things upside-down?\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 16 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tYou have never heard the Theory,", + "space": "default", + "lang": "en", + "begin": 17.2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 17.2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tthen, that the Brain also is inverted?\n ", + "space": "default", + "lang": "en", + "begin": 17.2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 17.2, + "end": 23 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tNo indeed! What a beautiful fact!\n ", + "space": "default", + "lang": "en", + "begin": 23, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 23, + "end": 27 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tBut how is it proved?\n ", + "space": "default", + "lang": "en", + "begin": 28, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 28, + "end": 34.6 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tThus: what we call\n ", + "space": "default", + "lang": "en", + "begin": 28, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 28, + "end": 34.6 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tthe vertex of the Brain", + "space": "default", + "lang": "en", + "begin": 34.6, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 34.6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tis really its base\n ", + "space": "default", + "lang": "en", + "begin": 34.6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 34.6, + "end": 45 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tand what we call its base", + "space": "default", + "lang": "en", + "begin": 45, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 45, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tis really its vertex,\n ", + "space": "default", + "lang": "en", + "begin": 45, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 45, + "end": 52 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tit is simply a question of nomenclature.\n ", + "space": "default", + "lang": "en", + "begin": 53.5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 53.5, + "end": 58.7 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 22, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tHow truly delightful!\n ", + "space": "default", + "lang": "en", + "begin": 53.5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 53.5, + "end": 58.7 + } + ], + "lang": "en", + "begin": 0, + "end": 58.7 + } + ], + "lang": "en", + "begin": 0, + "end": 58.7 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html new file mode 100644 index 00000000..f4ef6163 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +It seems a paradox, does it not, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html new file mode 100644 index 00000000..13e53159 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +It is puzzling, why is it + +
+ +we do not see things upside-down? + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html new file mode 100644 index 00000000..12f82da8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +You have never heard the Theory, + +
+ +then, that the Brain also is inverted? + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html new file mode 100644 index 00000000..61ff9772 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +No indeed! What a beautiful fact! + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html new file mode 100644 index 00000000..4ce09f6a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +But how is it proved? + +

+

+ +Thus: what we call + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html new file mode 100644 index 00000000..2f783f41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +the vertex of the Brain + +
+ +is really its base + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html new file mode 100644 index 00000000..25b3dc01 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +and what we call its base + +
+ +is really its vertex, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html new file mode 100644 index 00000000..85047b9c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +that the image formed on + +
+ +the Retina should be inverted? + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html new file mode 100644 index 00000000..95ac02b8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +it is simply a question of nomenclature. + +

+

+ +How truly delightful! + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.760000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.760000.json new file mode 100644 index 00000000..618d39b1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/0.760000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "It seems a paradox, does it not,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/10.000000.json new file mode 100644 index 00000000..bdbdf7aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/10.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "It is puzzling, why is it", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "we do not see things upside-down? ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/16.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/16.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/16.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/17.200000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/17.200000.json new file mode 100644 index 00000000..7dc7fc14 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/17.200000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "You have never heard the Theory,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "then, that the Brain also is inverted? ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/23.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/23.000000.json new file mode 100644 index 00000000..6f1635af --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/23.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "No indeed! What a beautiful fact!", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/27.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/27.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/27.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/28.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/28.000000.json new file mode 100644 index 00000000..966b5541 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/28.000000.json @@ -0,0 +1,279 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "But how is it proved?", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Thus: what we call", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/3.450000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/3.450000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/3.450000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/34.600000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/34.600000.json new file mode 100644 index 00000000..cb482e02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/34.600000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the vertex of the Brain", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is really its base ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/45.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/45.000000.json new file mode 100644 index 00000000..7083f9ab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/45.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and what we call its base", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is really its vertex, ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/5.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/5.000000.json new file mode 100644 index 00000000..aafb1ff6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/5.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "that the image formed on", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the Retina should be inverted? ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/52.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/52.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/52.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/53.500000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/53.500000.json new file mode 100644 index 00000000..5568c11c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/53.500000.json @@ -0,0 +1,279 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "it is simply a question of nomenclature.", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04583333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "How truly delightful!", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/isd/58.700000.json b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/58.700000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample120/isd/58.700000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/doc.json b/src/test/resources/reference-files/imsc1/DocumentExample822/doc.json new file mode 100644 index 00000000..85347ee5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample822/doc.json @@ -0,0 +1,148 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tTwinkle, twinkle, little bat!", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tHow ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "I wonder", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " where you're at!\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html new file mode 100644 index 00000000..9b154a44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html @@ -0,0 +1,23 @@ +
+
+
+
+

+ +Twinkle, twinkle, little bat! + +
+ +How + + +I wonder + + + where you're at! + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample822/isd/0.000000.json new file mode 100644 index 00000000..ba379393 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample822/isd/0.000000.json @@ -0,0 +1,339 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 0, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Twinkle, twinkle, little bat!", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "How ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "I wonder", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " where you're at!", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample822/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample822/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/doc.json b/src/test/resources/reference-files/imsc1/DocumentExample823/doc.json new file mode 100644 index 00000000..6267145e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample823/doc.json @@ -0,0 +1,155 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tIn spring, when woods are ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "getting green", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ",", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\tI'll try and tell you what I mean.\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html new file mode 100644 index 00000000..62c57477 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html @@ -0,0 +1,23 @@ +
+
+
+
+

+ +In spring, when woods are + + +getting green + + +, + +
+ +I'll try and tell you what I mean. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample823/isd/0.000000.json new file mode 100644 index 00000000..28367aef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample823/isd/0.000000.json @@ -0,0 +1,339 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "In spring, when woods are ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "getting green", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ",", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "I'll try and tell you what I mean. ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample823/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample823/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/doc.json b/src/test/resources/reference-files/imsc1/DocumentExample824/doc.json new file mode 100644 index 00000000..a761e598 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample824/doc.json @@ -0,0 +1,190 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 84, + "unit": "px" + }, + "w": { + "value": 265, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 5, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n Little birds are playing", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n Bagpipes on the shore,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "where the tourists snore.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html new file mode 100644 index 00000000..bd44d3b4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html @@ -0,0 +1,21 @@ +
+
+
+
+

+ +Little birds are playing + +
+ +Bagpipes on the shore, + +
+ +where the tourists snore. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample824/isd/0.000000.json new file mode 100644 index 00000000..7c353551 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample824/isd/0.000000.json @@ -0,0 +1,296 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Little birds are playing", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Bagpipes on the shore,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "where the tourists snore.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/isd/10.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample824/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample824/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/doc.json b/src/test/resources/reference-files/imsc1/DocumentExample825/doc.json new file mode 100644 index 00000000..3f272fcb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/doc.json @@ -0,0 +1,226 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 119, + "unit": "px" + }, + "w": { + "value": 369, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n [[[\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 1, + "end": 2 + } + ], + "regionID": "", + "space": "default", + "lang": "en", + "text": "\n \n Beautiful soup,\n ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 2, + "end": 3 + } + ], + "regionID": "", + "space": "default", + "lang": "en", + "text": "\n \n so rich and green,\n ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 3, + "end": 4 + } + ], + "regionID": "", + "space": "default", + "lang": "en", + "text": "\n \n waiting in a hot tureen!\n ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ]]]\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html new file mode 100644 index 00000000..e5e4d512 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +[[[ + + +]]] + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html new file mode 100644 index 00000000..a775681b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +[[[ + + +Beautiful soup, + + +]]] + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html new file mode 100644 index 00000000..3f319c58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +[[[ + + +so rich and green, + + +]]] + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html new file mode 100644 index 00000000..14b1b055 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +[[[ + + +waiting in a hot tureen! + + +]]] + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html new file mode 100644 index 00000000..e5e4d512 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +[[[ + + +]]] + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/0.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/0.000000.json new file mode 100644 index 00000000..dd7a1e78 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/0.000000.json @@ -0,0 +1,238 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "[[[ ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "]]]", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/1.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/1.000000.json new file mode 100644 index 00000000..c7755b7f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/1.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "[[[ ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Beautiful soup, ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "]]]", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/2.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/2.000000.json new file mode 100644 index 00000000..10109b78 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/2.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "[[[ ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "so rich and green, ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "]]]", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/3.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/3.000000.json new file mode 100644 index 00000000..5cd80c92 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/3.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "[[[ ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "waiting in a hot tureen! ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "]]]", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/4.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/4.000000.json new file mode 100644 index 00000000..dd7a1e78 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/4.000000.json @@ -0,0 +1,238 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "[[[ ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "]]]", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/isd/5.000000.json b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/5.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/DocumentExample825/isd/5.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/doc.json b/src/test/resources/reference-files/imsc1/Extent001/doc.json new file mode 100644 index 00000000..f7740aa4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent001/doc.json @@ -0,0 +1,131 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The extent of this region has", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "the same dimensions as the root container.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html new file mode 100644 index 00000000..fc02cee2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The extent of this region has + +
+ +the same dimensions as the root container. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html new file mode 100644 index 00000000..8db518ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Extent001/isd/0.000000.json new file mode 100644 index 00000000..cf03187f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The extent of this region has", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "the same dimensions as the root container.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Extent001/isd/10.000000.json new file mode 100644 index 00000000..5a1f7c38 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/doc.json b/src/test/resources/reference-files/imsc1/Extent002/doc.json new file mode 100644 index 00000000..26b7d58d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent002/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 75, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The extent of this region is", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "150px wide by 75px tall.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html new file mode 100644 index 00000000..6ed4512d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The extent of this +region is + +
+ +150px wide by 75px +tall. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html new file mode 100644 index 00000000..9da57bc3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Extent002/isd/0.000000.json new file mode 100644 index 00000000..d4b49302 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent002/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The extent of this region is", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "150px wide by 75px tall.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Extent002/isd/10.000000.json new file mode 100644 index 00000000..0e412969 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Extent002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/doc.json b/src/test/resources/reference-files/imsc1/FillLineGap001/doc.json new file mode 100644 index 00000000..cbf3a069 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap001/doc.json @@ -0,0 +1,407 @@ +{ + "events": [ + 0, + 30 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 165, + "unit": "%" + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "##Line gaps##", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "The quick ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 183, + 88, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "brown", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " fox", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "jumps over the ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 223, + 187, + 2, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "lazy", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " dog", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " \n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "##Line gaps##", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 30 + } + ], + "lang": "en", + "begin": 0, + "end": 30 + } + ], + "lang": "en", + "begin": 0, + "end": 30 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html new file mode 100644 index 00000000..0f0593dd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html @@ -0,0 +1,37 @@ +
+
+
+
+

+ +##Line gaps## + +
+ +The quick + + +brown + + + fox + +
+ +jumps over the + + +lazy + + + dog + +
+ +##Line gaps## + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap001/isd/0.000000.json new file mode 100644 index 00000000..98bf3eef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap001/isd/0.000000.json @@ -0,0 +1,545 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.11 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "##Line gaps##", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The quick ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 183, + 88, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "brown", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " fox", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "jumps over the ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 223, + 187, + 2, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lazy", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " dog", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "##Line gaps##", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/isd/30.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap001/isd/30.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap001/isd/30.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/doc.json b/src/test/resources/reference-files/imsc1/FillLineGap002/doc.json new file mode 100644 index 00000000..240cd196 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap002/doc.json @@ -0,0 +1,417 @@ +{ + "events": [ + 0, + 30 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 165, + "unit": "%" + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Paragraph 1", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 165, + "unit": "%" + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Paragraph 2", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 30 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 165, + "unit": "%" + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Paragraph 1", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 165, + "unit": "%" + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Paragraph 2", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 30 + } + ], + "lang": "en", + "begin": 0, + "end": 30 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html new file mode 100644 index 00000000..f4358ed1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html @@ -0,0 +1,34 @@ +
+
+
+
+

+ +Paragraph 1 + +

+

+ +Paragraph 2 + +

+
+
+
+
+
+
+

+ +Paragraph 1 + +

+

+ +Paragraph 2 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap002/isd/0.000000.json new file mode 100644 index 00000000..cd2626c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap002/isd/0.000000.json @@ -0,0 +1,566 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.11 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Paragraph 1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.11 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Paragraph 2", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.11 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Paragraph 1", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.11 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Paragraph 2", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/isd/30.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap002/isd/30.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap002/isd/30.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/doc.json b/src/test/resources/reference-files/imsc1/FillLineGap003/doc.json new file mode 100644 index 00000000..f1e47580 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/doc.json @@ -0,0 +1,2693 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "R1": { + "id": "R1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:wrapOption = wrap ", + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Line break inside the span:", + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "Second\n line.", + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "Line break between spans:", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "Second\n line.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:wrapOption = noWrap ", + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Line break inside the span:", + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "Second\n line.", + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "Line break between spans:", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "Second\n line.", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"normal\" ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1\n 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 10, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"100%\" ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1 2\n 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 15, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 120, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"120%\" ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1 2\n 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 20, + "end": 25 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 80, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"80%\" ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1 2\n 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 25, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"150%\" ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1 2\n 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 30, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 30, + "end": 35 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 250, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true + }, + "timeContainer": "par", + "sets": [], + "regionID": "R1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:lineHeight=\"250%\" ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "! \" # $ % & ' ( ) * + , - . ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "/ 0 1 2\n 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "A B C D E H I ", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en-GB", + "text": "a b c d e h i j k l n o p q r", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧\n ̋", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " Ŋ ʼn\n ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en-GB", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en-GB", + "begin": 35, + "end": 40 + } + ], + "lang": "en-GB", + "begin": 0, + "end": 40 + } + ], + "lang": "en-GB", + "begin": 0, + "end": 40 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html new file mode 100644 index 00000000..07dea362 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html @@ -0,0 +1,32 @@ +
+
+
+
+

+ +tts:wrapOption = wrap + + + +Line break inside the span: + +
+ +Second line. + +
+ + + + +Line break between spans: + +
+ +Second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html new file mode 100644 index 00000000..736dff7b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="normal" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html new file mode 100644 index 00000000..d869e157 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="100%" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html new file mode 100644 index 00000000..3e19a04b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="120%" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html new file mode 100644 index 00000000..3c8338f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="80%" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html new file mode 100644 index 00000000..fe8bee1c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="150%" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html new file mode 100644 index 00000000..3f2c3f4b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html @@ -0,0 +1,57 @@ +
+
+
+
+

+ +tts:lineHeight="250%" + + + +! " # $ % & ' ( ) * + , - . + +
+ +/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ + +
+ +A B C D E H I + + +J K L N O P Q R S T U +V W X Y Z [ \ ] ^ _ ` + + +a b c d e h i j k l n o p q r + + + + + + +s t u v +w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ + +
+
+ + +° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ + +
+
+ + +̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ + +
+ +Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html new file mode 100644 index 00000000..32d2c211 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html @@ -0,0 +1,32 @@ +
+
+
+
+

+ +tts:wrapOption = noWrap + + + +Line break inside the span: + +
+ +Second line. + +
+ + + + +Line break between spans: + +
+ +Second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/0.000000.json new file mode 100644 index 00000000..4256bd64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/0.000000.json @@ -0,0 +1,490 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:wrapOption = wrap ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Line break inside the span:", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Second line.", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Line break between spans:", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/10.000000.json new file mode 100644 index 00000000..e37f74ae --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/10.000000.json @@ -0,0 +1,887 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"normal\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/15.000000.json new file mode 100644 index 00000000..e555aa46 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/15.000000.json @@ -0,0 +1,890 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"100%\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/20.000000.json new file mode 100644 index 00000000..f8f32537 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/20.000000.json @@ -0,0 +1,890 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06 + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"120%\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/25.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/25.000000.json new file mode 100644 index 00000000..1b63afd6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/25.000000.json @@ -0,0 +1,890 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.04 + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"80%\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/30.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/30.000000.json new file mode 100644 index 00000000..b0991672 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/30.000000.json @@ -0,0 +1,890 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"150%\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/35.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/35.000000.json new file mode 100644 index 00000000..15c4e504 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/35.000000.json @@ -0,0 +1,890 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.125 + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:lineHeight=\"250%\" ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "! \" # $ % & ' ( ) * + , - .", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ ", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A B C D E H I ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "J K L N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a b c d e h i j k l n o p q r", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "s t u v w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.025 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/40.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/40.000000.json new file mode 100644 index 00000000..0ff45846 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/40.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/5.000000.json new file mode 100644 index 00000000..d6cd343e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap003/isd/5.000000.json @@ -0,0 +1,490 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en-GB", + "id": "R1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:wrapOption = noWrap ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Line break inside the span:", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Second line.", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Line break between spans:", + "space": "default" + }, + { + "kind": "br", + "lang": "en-GB", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en-GB", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en-GB" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/doc.json b/src/test/resources/reference-files/imsc1/FillLineGap004/doc.json new file mode 100644 index 00000000..3745e77c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap004/doc.json @@ -0,0 +1,196 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "right": { + "id": "right", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n hello ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "みなさん、", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "こんにちは", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html new file mode 100644 index 00000000..ed263600 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +hello + + + +みなさん、 + +
+ +こんにちは + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap004/isd/0.000000.json new file mode 100644 index 00000000..2a2eac72 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap004/isd/0.000000.json @@ -0,0 +1,341 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "hello ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "みなさん、", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "こんにちは", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/isd/1.000000.json b/src/test/resources/reference-files/imsc1/FillLineGap004/isd/1.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FillLineGap004/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/doc.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/doc.json new file mode 100644 index 00000000..3a02e569 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/doc.json @@ -0,0 +1,524 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "0\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "1\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "2\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "3\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "4\n ", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "5\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "6\n ", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "7\n ", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "8\n ", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "9\n ", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This test counts from 0 to 10 in 10 seconds.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "10\n ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test is over.", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html new file mode 100644 index 00000000..01825aa9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html new file mode 100644 index 00000000..e3d7eb83 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html @@ -0,0 +1,26 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html new file mode 100644 index 00000000..8f275a3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html @@ -0,0 +1,107 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html new file mode 100644 index 00000000..1dee2039 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html @@ -0,0 +1,112 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+

+ +This test is over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html new file mode 100644 index 00000000..8a83d6fe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html @@ -0,0 +1,35 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html new file mode 100644 index 00000000..8f275a3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html @@ -0,0 +1,107 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +10 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html new file mode 100644 index 00000000..40fb32a0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html @@ -0,0 +1,44 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html new file mode 100644 index 00000000..792d7017 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html @@ -0,0 +1,53 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html new file mode 100644 index 00000000..76e7764e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html @@ -0,0 +1,62 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html new file mode 100644 index 00000000..86fd5527 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html @@ -0,0 +1,71 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html new file mode 100644 index 00000000..5b737dbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html @@ -0,0 +1,80 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html new file mode 100644 index 00000000..a034a473 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html @@ -0,0 +1,89 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html new file mode 100644 index 00000000..b28b47aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html @@ -0,0 +1,98 @@ +
+
+
+
+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +0 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +1 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +2 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +3 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +4 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +5 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +6 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +7 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +8 + +

+

+ +This test counts from 0 to 10 in 10 seconds. + +
+ +9 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/0.000000.json new file mode 100644 index 00000000..06548e96 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/1.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/1.000000.json new file mode 100644 index 00000000..88efb9b2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/1.000000.json @@ -0,0 +1,385 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/10.000000.json new file mode 100644 index 00000000..0e1e6d19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/10.000000.json @@ -0,0 +1,1663 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/11.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/11.000000.json new file mode 100644 index 00000000..93fa7c2e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/11.000000.json @@ -0,0 +1,1752 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test is over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/2.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/2.000000.json new file mode 100644 index 00000000..a5c85649 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/2.000000.json @@ -0,0 +1,527 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/20.000000.json new file mode 100644 index 00000000..0e1e6d19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/20.000000.json @@ -0,0 +1,1663 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/3.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/3.000000.json new file mode 100644 index 00000000..a9df8519 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/3.000000.json @@ -0,0 +1,669 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/4.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/4.000000.json new file mode 100644 index 00000000..eeef2d08 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/4.000000.json @@ -0,0 +1,811 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/5.000000.json new file mode 100644 index 00000000..06846e4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/5.000000.json @@ -0,0 +1,953 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/6.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/6.000000.json new file mode 100644 index 00000000..b141eb8f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/6.000000.json @@ -0,0 +1,1095 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/7.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/7.000000.json new file mode 100644 index 00000000..b627f5db --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/7.000000.json @@ -0,0 +1,1237 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/8.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/8.000000.json new file mode 100644 index 00000000..eeddd05b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/8.000000.json @@ -0,0 +1,1379 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/9.000000.json b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/9.000000.json new file mode 100644 index 00000000..e30ce702 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/isd/9.000000.json @@ -0,0 +1,1521 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "3 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "4 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "5 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "7 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "8 ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test counts from 0 to 10 in 10 seconds.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "9 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/doc.json b/src/test/resources/reference-files/imsc1/FontFamily001/doc.json new file mode 100644 index 00000000..a43056e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily001/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospace" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a monospace font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html new file mode 100644 index 00000000..77b67309 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a monospace +font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily001/isd/0.000000.json new file mode 100644 index 00000000..35ed45cd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospace" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a monospace font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/doc.json b/src/test/resources/reference-files/imsc1/FontFamily002/doc.json new file mode 100644 index 00000000..5f28f753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily002/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sansSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a sansSerif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html new file mode 100644 index 00000000..3d0c5c87 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last words must be + + +using a sansSerif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily002/isd/0.000000.json new file mode 100644 index 00000000..e079ec73 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sansSerif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a sansSerif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/doc.json b/src/test/resources/reference-files/imsc1/FontFamily003/doc.json new file mode 100644 index 00000000..db787f18 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily003/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "serif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a serif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html new file mode 100644 index 00000000..db338b06 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last words must be + + +using a serif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily003/isd/0.000000.json new file mode 100644 index 00000000..1ddf088d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily003/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "serif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a serif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/doc.json b/src/test/resources/reference-files/imsc1/FontFamily004/doc.json new file mode 100644 index 00000000..3d7da537 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily004/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSansSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a monospaceSansSerif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html new file mode 100644 index 00000000..4ae60681 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a +monospaceSansSerif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily004/isd/0.000000.json new file mode 100644 index 00000000..f73460d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily004/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSansSerif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a monospaceSansSerif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/doc.json b/src/test/resources/reference-files/imsc1/FontFamily005/doc.json new file mode 100644 index 00000000..a8f6d2b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily005/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a monospaceSerif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html new file mode 100644 index 00000000..6ce6c730 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a +monospaceSerif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily005/isd/0.000000.json new file mode 100644 index 00000000..b31c8c8b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily005/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a monospaceSerif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/doc.json b/src/test/resources/reference-files/imsc1/FontFamily006/doc.json new file mode 100644 index 00000000..82be6cbe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily006/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a proportionalSansSerif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html new file mode 100644 index 00000000..f092ae14 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a +proportionalSansSerif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily006/isd/0.000000.json new file mode 100644 index 00000000..74a586aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily006/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a proportionalSansSerif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/doc.json b/src/test/resources/reference-files/imsc1/FontFamily007/doc.json new file mode 100644 index 00000000..b47e0805 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily007/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a proportionalSerif font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html new file mode 100644 index 00000000..d3b9e9b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last words must be + + +using a proportionalSerif font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily007/isd/0.000000.json new file mode 100644 index 00000000..4f54f86c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily007/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSerif" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a proportionalSerif font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/doc.json b/src/test/resources/reference-files/imsc1/FontFamily008/doc.json new file mode 100644 index 00000000..87e9da4e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily008/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "Times New Roman" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a Times New Roman font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html new file mode 100644 index 00000000..d7750e44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a Times New Roman +font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily008/isd/0.000000.json new file mode 100644 index 00000000..29f4805a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily008/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "Times New Roman" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a Times New Roman font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily008/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily008/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/doc.json b/src/test/resources/reference-files/imsc1/FontFamily009/doc.json new file mode 100644 index 00000000..79f8b91f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily009/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "InexistantFont", + "Times New Roman" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "using a Times New Roman font", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html new file mode 100644 index 00000000..13f890ac --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last words must be + + +using a Times New Roman +font + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontFamily009/isd/0.000000.json new file mode 100644 index 00000000..637ceeb2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily009/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "InexistantFont", + "Times New Roman" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "using a Times New Roman font", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontFamily009/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontFamily009/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/doc.json b/src/test/resources/reference-files/imsc1/FontSize001/doc.json new file mode 100644 index 00000000..8b988c5e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize001/doc.json @@ -0,0 +1,127 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be in ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 24, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "24px", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html new file mode 100644 index 00000000..7bd504b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be in + + +24px + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontSize001/isd/0.000000.json new file mode 100644 index 00000000..8d3060bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be in ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "24px", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontSize001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/doc.json b/src/test/resources/reference-files/imsc1/FontSize002/doc.json new file mode 100644 index 00000000..cab5bfc9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize002/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be in ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 2, + "unit": "em" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "2em", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html new file mode 100644 index 00000000..8f4574a0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be in + + +2em + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontSize002/isd/0.000000.json new file mode 100644 index 00000000..f823f5e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be in ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.13333333333333333 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2em", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontSize002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/doc.json b/src/test/resources/reference-files/imsc1/FontSize004/doc.json new file mode 100644 index 00000000..2372edb7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize004/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be in ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "150%", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.041666666666666664 + }, + "w": { + "rw": 0.025, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html new file mode 100644 index 00000000..1e22fb0c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be in + + +150% + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontSize004/isd/0.000000.json new file mode 100644 index 00000000..df117000 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize004/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.041666666666666664 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.041666666666666664 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be in ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.0625 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "150%", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.041666666666666664 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontSize004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontSize004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/doc.json b/src/test/resources/reference-files/imsc1/FontStyle001/doc.json new file mode 100644 index 00000000..300fe64f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle001/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "not be italic", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html new file mode 100644 index 00000000..3053bc31 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last words must + + +not be italic + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontStyle001/isd/0.000000.json new file mode 100644 index 00000000..4c982539 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "not be italic", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontStyle001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/doc.json b/src/test/resources/reference-files/imsc1/FontStyle002/doc.json new file mode 100644 index 00000000..2d4ff314 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle002/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be in ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "italic", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html new file mode 100644 index 00000000..43142d2a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be in + + +italic + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontStyle002/isd/0.000000.json new file mode 100644 index 00000000..7a818eeb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be in ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "italic", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontStyle002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/doc.json b/src/test/resources/reference-files/imsc1/FontStyle003/doc.json new file mode 100644 index 00000000..085c05ce --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle003/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be in ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "oblique" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "oblique", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html new file mode 100644 index 00000000..db163d1c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be in + + +oblique + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontStyle003/isd/0.000000.json new file mode 100644 index 00000000..c52e88f3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle003/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be in ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "oblique", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "oblique", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontStyle003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontStyle003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/doc.json b/src/test/resources/reference-files/imsc1/FontWeight001/doc.json new file mode 100644 index 00000000..f5194355 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight001/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last words must ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "not be bold", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html new file mode 100644 index 00000000..3ab2f1ad --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last words must + + +not be bold + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontWeight001/isd/0.000000.json new file mode 100644 index 00000000..3becfc1b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last words must ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "not be bold", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontWeight001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/doc.json b/src/test/resources/reference-files/imsc1/FontWeight002/doc.json new file mode 100644 index 00000000..e9f14b53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight002/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "bold", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html new file mode 100644 index 00000000..387daf39 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word must be + + +bold + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/FontWeight002/isd/0.000000.json new file mode 100644 index 00000000..a40d03f2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bold", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/FontWeight002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/FontWeight002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/doc.json b/src/test/resources/reference-files/imsc1/Foreign001/doc.json new file mode 100644 index 00000000..473f1d32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Foreign001/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 5 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html new file mode 100644 index 00000000..f8b6cd76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Foreign001/isd/0.000000.json new file mode 100644 index 00000000..d0e8a056 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Foreign001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Foreign001/isd/5.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Foreign001/isd/5.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/doc.json b/src/test/resources/reference-files/imsc1/LineHeight001/doc.json new file mode 100644 index 00000000..13971a44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight001/doc.json @@ -0,0 +1,114 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The line height of this ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "two-row caption is normal.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html new file mode 100644 index 00000000..9b33f027 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The line height of this + +
+ +two-row caption is normal. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LineHeight001/isd/0.000000.json new file mode 100644 index 00000000..8e86e8a7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight001/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line height of this", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "two-row caption is normal.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/LineHeight001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/doc.json b/src/test/resources/reference-files/imsc1/LineHeight002/doc.json new file mode 100644 index 00000000..9f05dd16 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight002/doc.json @@ -0,0 +1,114 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The line height of this", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "two-row caption is normal.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html new file mode 100644 index 00000000..9b33f027 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The line height of this + +
+ +two-row caption is normal. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LineHeight002/isd/0.000000.json new file mode 100644 index 00000000..8e86e8a7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight002/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line height of this", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "two-row caption is normal.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/LineHeight002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/doc.json b/src/test/resources/reference-files/imsc1/LineHeight003/doc.json new file mode 100644 index 00000000..50c86e87 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight003/doc.json @@ -0,0 +1,123 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 30, + "unit": "px" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The line height of this", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "two-row caption is 30 pixels.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html new file mode 100644 index 00000000..2c45f9d3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The line height of this + +
+ +two-row caption is 30 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LineHeight003/isd/0.000000.json new file mode 100644 index 00000000..71fda300 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight003/isd/0.000000.json @@ -0,0 +1,246 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.0625 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line height of this", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "two-row caption is 30 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/LineHeight003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/doc.json b/src/test/resources/reference-files/imsc1/LineHeight006/doc.json new file mode 100644 index 00000000..9bb0452b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight006/doc.json @@ -0,0 +1,117 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 2, + "unit": "em" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The line height of this", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "two-row caption is 2em.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html new file mode 100644 index 00000000..7d8a3594 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The line height of this + +
+ +two-row caption is 2em. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LineHeight006/isd/0.000000.json new file mode 100644 index 00000000..07e3c02e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight006/isd/0.000000.json @@ -0,0 +1,246 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.13333333333333333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The line height of this", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "two-row caption is 2em.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/LineHeight006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LineHeight006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/doc.json b/src/test/resources/reference-files/imsc1/LinePadding005/doc.json new file mode 100644 index 00000000..7b615045 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding005/doc.json @@ -0,0 +1,304 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 55, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "right": { + "id": "right", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ar", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ar", + "text": "نشاط التدويل، W3C", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ar", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ar", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n hello ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "みなさん、", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "こんにちは", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html b/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html new file mode 100644 index 00000000..72e4d9c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html @@ -0,0 +1,33 @@ +
+
+
+
+

+ +نشاط التدويل، W3C + +

+
+
+
+
+
+
+

+ +hello + + + +みなさん、 + +
+ +こんにちは + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html b/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LinePadding005/isd/0.000000.json new file mode 100644 index 00000000..774c80cc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding005/isd/0.000000.json @@ -0,0 +1,526 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ar", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0.01, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ar", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "نشاط التدويل، W3C", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0.01, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "hello ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "みなさん、", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "こんにちは", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/isd/1.000000.json b/src/test/resources/reference-files/imsc1/LinePadding005/isd/1.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding005/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/doc.json b/src/test/resources/reference-files/imsc1/LinePadding006/doc.json new file mode 100644 index 00000000..4c5fe426 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/doc.json @@ -0,0 +1,205 @@ +{ + "events": [ + 0, + 2.459, + 2.726 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 135, + "unit": "%" + }, + "urn:ebu:tt:style linePadding": { + "value": 1, + "unit": "c" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n ", + "space": "default", + "lang": "en", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 153 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sans-serif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Lorem ipsum dolor sit amet, consectetur", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n ", + "space": "default", + "lang": "en", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n ", + "space": "default", + "lang": "en", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 153 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sans-serif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "adipiscing elit", + "begin": 2.459, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n ", + "space": "default", + "lang": "en", + "begin": 2.459, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2.459, + "end": 2.726 + } + ], + "lang": "en", + "begin": 0, + "end": 2.726 + } + ], + "lang": "en", + "begin": 0, + "end": 2.726 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html new file mode 100644 index 00000000..fc655ee6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +Lorem ipsum dolor sit amet, consectetur + +
+ +adipiscing elit + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/LinePadding006/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.459000.json b/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.459000.json new file mode 100644 index 00000000..238c7b90 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.459000.json @@ -0,0 +1,246 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.09 + }, + "urn:ebu:tt:style linePadding": { + "rw": 0.03125, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 153 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sans-serif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Lorem ipsum dolor sit amet, consectetur", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 153 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "sans-serif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "adipiscing elit", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.726000.json b/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.726000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/LinePadding006/isd/2.726000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/doc.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/doc.json new file mode 100644 index 00000000..e9d49f4f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/doc.json @@ -0,0 +1,178 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds,", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 15 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html new file mode 100644 index 00000000..aaab2220 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and be remain visible to 20 seconds, + +
+

+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 15 seconds, + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html new file mode 100644 index 00000000..8adb0654 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and be remain visible to 20 seconds, + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html new file mode 100644 index 00000000..f395df29 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 15 seconds, + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/10.000000.json new file mode 100644 index 00000000..e53200ab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/10.000000.json @@ -0,0 +1,395 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 15 seconds,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/15.000000.json new file mode 100644 index 00000000..639bc76d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/15.000000.json @@ -0,0 +1,248 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/5.000000.json new file mode 100644 index 00000000..3dbc3b41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming001/isd/5.000000.json @@ -0,0 +1,248 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 15 seconds,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/doc.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/doc.json new file mode 100644 index 00000000..c3551b4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/doc.json @@ -0,0 +1,247 @@ +{ + "events": [ + 0, + 5, + 10, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 5, + "end": 25 + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and remain visible to 10 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html new file mode 100644 index 00000000..a2c59d6a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html @@ -0,0 +1,39 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+

+ +This text must appear at 5 seconds + +
+ +and remain visible to 10 seconds + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/5.000000.json new file mode 100644 index 00000000..f0a58c1a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming002/isd/5.000000.json @@ -0,0 +1,561 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + }, + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and remain visible to 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/doc.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/doc.json new file mode 100644 index 00000000..7802a6b3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/doc.json @@ -0,0 +1,254 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 0 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 5 seconds,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 10 seconds", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html new file mode 100644 index 00000000..135d5580 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 0 seconds + +
+ +and be remain visible to 5 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html new file mode 100644 index 00000000..ccbbf81d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 10 seconds + +
+ +and be remain visible to 20 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html new file mode 100644 index 00000000..6287f431 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+
+

+ +This text must appear at 15 seconds + +
+ +and be remain visible to 20 seconds. + +

+

+ +This text must appear at 10 seconds + +
+ +and be remain visible to 20 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html new file mode 100644 index 00000000..98de1994 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/0.000000.json new file mode 100644 index 00000000..fb9538c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/0.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 0 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 5 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/10.000000.json new file mode 100644 index 00000000..7e3cddd5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/10.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/15.000000.json new file mode 100644 index 00000000..62d3152e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/15.000000.json @@ -0,0 +1,402 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds.", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 10 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/40.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/5.000000.json new file mode 100644 index 00000000..5a5a380c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaParTiming003/isd/5.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/doc.json new file mode 100644 index 00000000..f9c9db21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/doc.json @@ -0,0 +1,153 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds,", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html new file mode 100644 index 00000000..3be43070 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must appear at 15 seconds + +
+ +and be remain visible to 20 seconds, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html new file mode 100644 index 00000000..912be2f8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/15.000000.json new file mode 100644 index 00000000..9aff6b0a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/15.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/5.000000.json new file mode 100644 index 00000000..c73b6b04 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/isd/5.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/doc.json new file mode 100644 index 00000000..6e9a2ac7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/doc.json @@ -0,0 +1,299 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 15, + "end": 15 + } + ], + "lang": "en", + "begin": 15, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds,", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 25 seconds", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 30 seconds.", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 30, + "end": 30 + } + ], + "lang": "en", + "begin": 30, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 35 seconds", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 40 seconds.", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 40 + } + ], + "lang": "en", + "begin": 20, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html new file mode 100644 index 00000000..8e4e3043 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 15 seconds + +
+ +and be remain visible to 20 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html new file mode 100644 index 00000000..e5378289 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 25 seconds + +
+ +and be remain visible to 30 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html new file mode 100644 index 00000000..1cfaf057 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 35 seconds + +
+ +and be remain visible to 40 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html new file mode 100644 index 00000000..98de1994 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/15.000000.json new file mode 100644 index 00000000..8b259a3c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/15.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/25.000000.json new file mode 100644 index 00000000..f70784d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/25.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 25 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 30 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/30.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/30.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/30.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/35.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/35.000000.json new file mode 100644 index 00000000..68b5af1b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/35.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 35 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 40 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/40.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/5.000000.json new file mode 100644 index 00000000..5a5a380c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/isd/5.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/doc.json new file mode 100644 index 00000000..4185a0a9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/doc.json @@ -0,0 +1,223 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 5, + "end": 5 + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": " This text must not appear.", + "space": "default", + "lang": "en", + "begin": 15, + "end": 15 + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 25 seconds", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 30 seconds.", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 35 seconds", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 35, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 40 seconds.", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 40 + } + ], + "lang": "en", + "begin": 20, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 40 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html new file mode 100644 index 00000000..e5378289 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 25 seconds + +
+ +and be remain visible to 30 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html new file mode 100644 index 00000000..1cfaf057 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 35 seconds + +
+ +and be remain visible to 40 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/25.000000.json new file mode 100644 index 00000000..f70784d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/25.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 25 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 30 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/30.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/30.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/30.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/35.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/35.000000.json new file mode 100644 index 00000000..68b5af1b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/35.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 35 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 40 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/40.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/5.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/isd/5.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/doc.json new file mode 100644 index 00000000..a80d3d14 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/doc.json @@ -0,0 +1,223 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds,", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 40 + } + ], + "lang": "en", + "begin": 20, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html new file mode 100644 index 00000000..8e4e3043 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 15 seconds + +
+ +and be remain visible to 20 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html new file mode 100644 index 00000000..98de1994 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/15.000000.json new file mode 100644 index 00000000..8b259a3c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/15.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/30.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/30.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/30.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/35.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/35.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/35.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/40.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/5.000000.json new file mode 100644 index 00000000..5a5a380c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/isd/5.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/doc.json new file mode 100644 index 00000000..9dcf1797 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/doc.json @@ -0,0 +1,240 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30, + 35, + 40 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 15 seconds", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 20 seconds,", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 25 seconds", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 25, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 30 seconds.", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 40 + } + ], + "lang": "en", + "begin": 20, + "end": 40 + } + ], + "lang": "en", + "begin": 0, + "end": 30 + } + ], + "lang": "en", + "begin": 0, + "end": 30 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html new file mode 100644 index 00000000..8e4e3043 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 15 seconds + +
+ +and be remain visible to 20 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html new file mode 100644 index 00000000..e5378289 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 25 seconds + +
+ +and be remain visible to 30 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html new file mode 100644 index 00000000..98de1994 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/15.000000.json new file mode 100644 index 00000000..8b259a3c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/15.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 15 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 20 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/25.000000.json new file mode 100644 index 00000000..f70784d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/25.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 25 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 30 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/30.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/30.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/30.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/35.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/35.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/35.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/40.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/40.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/40.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/5.000000.json new file mode 100644 index 00000000..5a5a380c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/isd/5.000000.json @@ -0,0 +1,260 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/doc.json new file mode 100644 index 00000000..5166bfa4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/doc.json @@ -0,0 +1,219 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html new file mode 100644 index 00000000..bfc7cbc2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds. + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/5.000000.json new file mode 100644 index 00000000..5aa6667f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/isd/5.000000.json @@ -0,0 +1,419 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + }, + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/doc.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/doc.json new file mode 100644 index 00000000..34ca9ccf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/doc.json @@ -0,0 +1,232 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20, + 25, + 30 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and be remain visible to 10 seconds,", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "none" + }, + "timeContainer": "par", + "sets": [ + { + "timeContainer": "par", + "styles": { + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "begin": 5, + "end": 25 + } + ], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n This text must appear at 5 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and remain visible to 10 seconds", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must not appear.", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 30 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 24, + "tickRate": 24, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html new file mode 100644 index 00000000..dc76d53d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+
+

+ +This text must appear at 5 seconds + +
+ +and be remain visible to 10 seconds, + +

+
+
+

+ +This text must appear at 5 seconds + +
+ +and remain visible to 10 seconds + +

+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/15.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/15.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/15.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/20.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/20.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/20.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/25.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/25.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/25.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/30.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/30.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/30.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/5.000000.json b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/5.000000.json new file mode 100644 index 00000000..f5d37668 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/isd/5.000000.json @@ -0,0 +1,419 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and be remain visible to 10 seconds,", + "space": "default" + } + ] + } + ] + }, + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear at 5 seconds", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and remain visible to 10 seconds", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/doc.json b/src/test/resources/reference-files/imsc1/Opacity001/doc.json new file mode 100644 index 00000000..a8906860 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity001/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region and text have an opacity of 1.00 (100% opaque).", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html new file mode 100644 index 00000000..846c242b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region and text have an opacity of 1.00 +(100% opaque). + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html new file mode 100644 index 00000000..9cc1062b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Opacity001/isd/0.000000.json new file mode 100644 index 00000000..3ce92e78 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region and text have an opacity of 1.00 (100% opaque).", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Opacity001/isd/10.000000.json new file mode 100644 index 00000000..bb682200 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/doc.json b/src/test/resources/reference-files/imsc1/Opacity002/doc.json new file mode 100644 index 00000000..71dc47b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity002/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.5 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region and text have an opacity of 0.50 (50% opaque).", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html new file mode 100644 index 00000000..cf797c89 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region and text have an opacity of 0.50 +(50% opaque). + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html new file mode 100644 index 00000000..e118d8f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Opacity002/isd/0.000000.json new file mode 100644 index 00000000..4230ed57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.5, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region and text have an opacity of 0.50 (50% opaque).", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Opacity002/isd/10.000000.json new file mode 100644 index 00000000..de4d4fb4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.5, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/doc.json b/src/test/resources/reference-files/imsc1/Opacity003/doc.json new file mode 100644 index 00000000..8ec7bffa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity003/doc.json @@ -0,0 +1,121 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.1 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region and text have an opacity of 0.10 (10% opaque).", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html new file mode 100644 index 00000000..f2e0eb53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region and text have an opacity of 0.10 +(10% opaque). + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html new file mode 100644 index 00000000..1f9aa46d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Opacity003/isd/0.000000.json new file mode 100644 index 00000000..6bb9e09d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity003/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region and text have an opacity of 0.10 (10% opaque).", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Opacity003/isd/10.000000.json new file mode 100644 index 00000000..b75bc95e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity003/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/doc.json b/src/test/resources/reference-files/imsc1/Opacity004/doc.json new file mode 100644 index 00000000..b249ac0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity004/doc.json @@ -0,0 +1,174 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.6 + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The red region and text have an opacity of 0.60 (60% opaque).", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html new file mode 100644 index 00000000..71011ec5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+
+
+

+ +The red region and text have an +opacity of 0.60 (60% opaque). + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html new file mode 100644 index 00000000..3288fe40 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Opacity004/isd/0.000000.json new file mode 100644 index 00000000..2952b7cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity004/isd/0.000000.json @@ -0,0 +1,252 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.6, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The red region and text have an opacity of 0.60 (60% opaque).", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Opacity004/isd/10.000000.json new file mode 100644 index 00000000..d8cc32e1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Opacity004/isd/10.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling opacity": 0.6, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/doc.json b/src/test/resources/reference-files/imsc1/Origin001/doc.json new file mode 100644 index 00000000..2ca9dc77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin001/doc.json @@ -0,0 +1,126 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region originates at the same X and Y coordinates as the root container.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html new file mode 100644 index 00000000..4ab42481 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region originates at the same X and Y +coordinates as the root container. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Origin001/isd/0.000000.json new file mode 100644 index 00000000..eb993f65 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region originates at the same X and Y coordinates as the root container.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Origin001/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/doc.json b/src/test/resources/reference-files/imsc1/Origin002/doc.json new file mode 100644 index 00000000..ad23253a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin002/doc.json @@ -0,0 +1,136 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 30, + "unit": "px" + }, + "w": { + "value": 30, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region originates at X=30px and Y=30px.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.005 + }, + "w": { + "rw": 0.0033333333333333335, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html new file mode 100644 index 00000000..6084fc7d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region originates at +X=30px and Y=30px. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html new file mode 100644 index 00000000..68227094 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Origin002/isd/0.000000.json new file mode 100644 index 00000000..5a75ae84 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.15 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.15 + }, + "w": { + "rw": 0.6666666666666667, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region originates at X=30px and Y=30px.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Origin002/isd/10.000000.json new file mode 100644 index 00000000..4bd6d0eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Origin002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.15 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.15 + }, + "w": { + "rw": 0.6666666666666667, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/doc.json b/src/test/resources/reference-files/imsc1/Overflow001/doc.json new file mode 100644 index 00000000..58b7fe74 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow001/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 20, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "None of this text is visible outside the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html new file mode 100644 index 00000000..ec034a84 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +None of this text is visible outside the text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html new file mode 100644 index 00000000..0e99ad61 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Overflow001/isd/0.000000.json new file mode 100644 index 00000000..caccd330 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.16666666666666666 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.08333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.08333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "None of this text is visible outside the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Overflow001/isd/10.000000.json new file mode 100644 index 00000000..651f712f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.16666666666666666 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/doc.json b/src/test/resources/reference-files/imsc1/Overflow002/doc.json new file mode 100644 index 00000000..0c672708 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow002/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 20, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Some of this text is visible outside the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html new file mode 100644 index 00000000..c088e131 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Some of this text is visible outside the text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html new file mode 100644 index 00000000..9d549368 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Overflow002/isd/0.000000.json new file mode 100644 index 00000000..790825f0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.16666666666666666 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.08333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.08333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Some of this text is visible outside the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Overflow002/isd/10.000000.json new file mode 100644 index 00000000..f8bb48e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.16666666666666666 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/doc.json b/src/test/resources/reference-files/imsc1/Overflow003/doc.json new file mode 100644 index 00000000..7449bd58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow003/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 18, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text is visible below the after edge of the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html new file mode 100644 index 00000000..47f20a70 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +Text is visible +below the after +edge of the text +region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html new file mode 100644 index 00000000..5951f9a4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Overflow003/isd/0.000000.json new file mode 100644 index 00000000..a751291b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow003/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text is visible below the after edge of the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Overflow003/isd/10.000000.json new file mode 100644 index 00000000..4f3b4bdd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow003/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/doc.json b/src/test/resources/reference-files/imsc1/Overflow004/doc.json new file mode 100644 index 00000000..9e1febab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow004/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 18, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text is not visible below the after edge of the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html new file mode 100644 index 00000000..f54f16fb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +Text is not +visible below the +after edge of the +text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html new file mode 100644 index 00000000..39bd01bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Overflow004/isd/0.000000.json new file mode 100644 index 00000000..9b809aa8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow004/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text is not visible below the after edge of the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Overflow004/isd/10.000000.json new file mode 100644 index 00000000..20139e0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow004/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/doc.json b/src/test/resources/reference-files/imsc1/Overflow005/doc.json new file mode 100644 index 00000000..9e1febab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow005/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "px" + }, + "w": { + "value": 150, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 18, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text is not visible below the after edge of the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html new file mode 100644 index 00000000..f54f16fb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +Text is not +visible below the +after edge of the +text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html new file mode 100644 index 00000000..39bd01bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Overflow005/isd/0.000000.json new file mode 100644 index 00000000..9b809aa8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow005/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.075 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text is not visible below the after edge of the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Overflow005/isd/10.000000.json new file mode 100644 index 00000000..20139e0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Overflow005/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.125 + }, + "w": { + "rw": 0.46875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/doc.json b/src/test/resources/reference-files/imsc1/Padding001/doc.json new file mode 100644 index 00000000..869a1d6e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding001/doc.json @@ -0,0 +1,156 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 20, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the edges are padded ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "by 20 pixels.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html new file mode 100644 index 00000000..90cf70a8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +All the edges are padded + +
+ +by 20 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html new file mode 100644 index 00000000..9a2fdc7d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding001/isd/0.000000.json new file mode 100644 index 00000000..521acdc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.08333333333333333 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.08333333333333333 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the edges are padded", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "by 20 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding001/isd/10.000000.json new file mode 100644 index 00000000..1c32261f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.08333333333333333 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.08333333333333333 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/doc.json b/src/test/resources/reference-files/imsc1/Padding002/doc.json new file mode 100644 index 00000000..159b5728 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/doc.json @@ -0,0 +1,201 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 10, + "unit": "px" + }, + { + "value": 30, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The before and after edges ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "are padded by 10 pixels.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The start and end edges ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "are padded by 30 pixels.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html new file mode 100644 index 00000000..813fcd2c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The before and after edges + +
+ +are padded by 10 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html new file mode 100644 index 00000000..52d83603 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html new file mode 100644 index 00000000..2111123b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The start and end edges + +
+ +are padded by 30 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding002/isd/0.000000.json new file mode 100644 index 00000000..66f1b1d6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The before and after edges", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "are padded by 10 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding002/isd/10.000000.json new file mode 100644 index 00000000..b531da2f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Padding002/isd/5.000000.json new file mode 100644 index 00000000..814d2fb6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding002/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.09375, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The start and end edges", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "are padded by 30 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/doc.json b/src/test/resources/reference-files/imsc1/Padding003/doc.json new file mode 100644 index 00000000..f70b1f44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/doc.json @@ -0,0 +1,246 @@ +{ + "events": [ + 0, + 5, + 10, + 15 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 10, + "unit": "px" + }, + { + "value": 20, + "unit": "px" + }, + { + "value": 40, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The before edge ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 10 pixels.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The start and end edges ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "are padded by 20 pixels.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The after edge ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 40 pixels.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + } + ], + "lang": "en", + "begin": 0, + "end": 15 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html new file mode 100644 index 00000000..fca42a09 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The before edge + +
+ +is padded by 10 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html new file mode 100644 index 00000000..344b6fc6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The after edge + +
+ +is padded by 40 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html new file mode 100644 index 00000000..56c41701 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html new file mode 100644 index 00000000..ca9676ab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The start and end edges + +
+ +are padded by 20 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding003/isd/0.000000.json new file mode 100644 index 00000000..b8837031 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.16666666666666666 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The before edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 10 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding003/isd/10.000000.json new file mode 100644 index 00000000..66b14726 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/isd/10.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.16666666666666666 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The after edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 40 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/isd/15.000000.json b/src/test/resources/reference-files/imsc1/Padding003/isd/15.000000.json new file mode 100644 index 00000000..2247229f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/isd/15.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.16666666666666666 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Padding003/isd/5.000000.json new file mode 100644 index 00000000..696c0e80 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding003/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.0625, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.16666666666666666 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The start and end edges", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "are padded by 20 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/doc.json b/src/test/resources/reference-files/imsc1/Padding004/doc.json new file mode 100644 index 00000000..bbaa7117 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/doc.json @@ -0,0 +1,291 @@ +{ + "events": [ + 0, + 5, + 10, + 15, + 20 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 10, + "unit": "px" + }, + { + "value": 20, + "unit": "px" + }, + { + "value": 30, + "unit": "px" + }, + { + "value": 40, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The before edge ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 10 pixels.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The end edge ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 20 pixels.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The after edge ", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 30 pixels.", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The start edge ", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 15, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "is padded by 40 pixels.", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + } + ], + "lang": "en", + "begin": 0, + "end": 20 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html new file mode 100644 index 00000000..67ffaaba --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The before edge + +
+ +is padded by 10 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html new file mode 100644 index 00000000..25ca7839 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The after edge + +
+ +is padded by 30 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html new file mode 100644 index 00000000..bed5875b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The start edge + +
+ +is padded by 40 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html new file mode 100644 index 00000000..782c9ae9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html new file mode 100644 index 00000000..e07ea89c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The end edge + +
+ +is padded by 20 pixels. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding004/isd/0.000000.json new file mode 100644 index 00000000..5df4641c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.125 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The before edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 10 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding004/isd/10.000000.json new file mode 100644 index 00000000..851a7522 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/isd/10.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.125 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The after edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 30 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/isd/15.000000.json b/src/test/resources/reference-files/imsc1/Padding004/isd/15.000000.json new file mode 100644 index 00000000..5256023f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/isd/15.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.125 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The start edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 40 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/isd/20.000000.json b/src/test/resources/reference-files/imsc1/Padding004/isd/20.000000.json new file mode 100644 index 00000000..8c5b6804 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/isd/20.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.125 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Padding004/isd/5.000000.json new file mode 100644 index 00000000..a7e53174 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding004/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.041666666666666664 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.125 + }, + { + "rw": 0.0625, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The end edge", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "is padded by 20 pixels.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/doc.json b/src/test/resources/reference-files/imsc1/Padding006/doc.json new file mode 100644 index 00000000..307e0fcf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding006/doc.json @@ -0,0 +1,155 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "em" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the edges are padded", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "by 2em.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html new file mode 100644 index 00000000..53960f37 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +All the edges are padded + +
+ +by 2em. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html new file mode 100644 index 00000000..af5dd93c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding006/isd/0.000000.json new file mode 100644 index 00000000..23222b64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding006/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the edges are padded", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "by 2em.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding006/isd/10.000000.json new file mode 100644 index 00000000..89e1d7b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding006/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + }, + { + "rw": 0, + "rh": 0.09333333333333334 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/doc.json b/src/test/resources/reference-files/imsc1/Padding007/doc.json new file mode 100644 index 00000000..6d468c69 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding007/doc.json @@ -0,0 +1,155 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "px" + }, + "w": { + "value": 200, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 20, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 70, + "unit": "%" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the edges are padded", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "by 20%.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html new file mode 100644 index 00000000..bfd3a0dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +All the edges are +padded + +
+ +by 20%. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html new file mode 100644 index 00000000..f50fc7c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Padding007/isd/0.000000.json new file mode 100644 index 00000000..f107b5ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding007/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.08333333333333334 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.08333333333333334 + }, + { + "rw": 0.125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the edges are padded", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.04666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "by 20%.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Padding007/isd/10.000000.json new file mode 100644 index 00000000..20a0f822 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Padding007/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4166666666666667 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.08333333333333334 + }, + { + "rw": 0.125, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.08333333333333334 + }, + { + "rw": 0.125, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/doc.json b/src/test/resources/reference-files/imsc1/Paragraph001/doc.json new file mode 100644 index 00000000..115c0c53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph001/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html new file mode 100644 index 00000000..f8b6cd76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Paragraph001/isd/0.000000.json new file mode 100644 index 00000000..d0e8a056 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Paragraph001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph002/doc.json b/src/test/resources/reference-files/imsc1/Paragraph002/doc.json new file mode 100644 index 00000000..a9eec519 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph002/doc.json @@ -0,0 +1,94 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html new file mode 100644 index 00000000..f8b6cd76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Paragraph002/isd/0.000000.json new file mode 100644 index 00000000..d0e8a056 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/doc.json b/src/test/resources/reference-files/imsc1/Paragraph003/doc.json new file mode 100644 index 00000000..7e90f901 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph003/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be red.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html new file mode 100644 index 00000000..c47b50d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be red. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Paragraph003/isd/0.000000.json new file mode 100644 index 00000000..c634c63c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be red.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Paragraph003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/doc.json b/src/test/resources/reference-files/imsc1/Paragraph004/doc.json new file mode 100644 index 00000000..1ea5a0c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph004/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text\n must appear on one line.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html new file mode 100644 index 00000000..251faf10 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must appear on one line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Paragraph004/isd/0.000000.json new file mode 100644 index 00000000..aa282393 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph004/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear on one line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Paragraph004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/doc.json b/src/test/resources/reference-files/imsc1/Paragraph005/doc.json new file mode 100644 index 00000000..d4056dd0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph005/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text\n must appear on two lines.", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html new file mode 100644 index 00000000..dfa4ac2a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +This text + + must appear on two lines. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Paragraph005/isd/0.000000.json new file mode 100644 index 00000000..e7497b9d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph005/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text\n must appear on two lines.", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Paragraph005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Paragraph005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Parameters006/doc.json b/src/test/resources/reference-files/imsc1/Parameters006/doc.json new file mode 100644 index 00000000..a8fe8d16 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Parameters006/doc.json @@ -0,0 +1,94 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This test reserved for the profile/feature test", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html new file mode 100644 index 00000000..feea5df2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This test reserved for the profile/feature +test + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Parameters006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Parameters006/isd/0.000000.json new file mode 100644 index 00000000..67e3ac15 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Parameters006/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This test reserved for the profile/feature test", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/doc.json b/src/test/resources/reference-files/imsc1/ShowBackground001/doc.json new file mode 100644 index 00000000..dfebbd26 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/doc.json @@ -0,0 +1,155 @@ +{ + "events": [ + 0, + 5, + 7, + 12 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling showBackground": "always" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The magenta background is always visible,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "even when there is no text.", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 12 + } + ], + "lang": "en", + "begin": 0, + "end": 12 + } + ], + "lang": "en", + "begin": 0, + "end": 12 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html new file mode 100644 index 00000000..35c9576a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The magenta background is +always visible, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html new file mode 100644 index 00000000..93ec188c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html new file mode 100644 index 00000000..93ec188c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html new file mode 100644 index 00000000..f78251b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +even when there is no text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/0.000000.json new file mode 100644 index 00000000..f547df9c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The magenta background is always visible,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/isd/12.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/12.000000.json new file mode 100644 index 00000000..0549b8ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/12.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/5.000000.json new file mode 100644 index 00000000..0549b8ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/5.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/isd/7.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/7.000000.json new file mode 100644 index 00000000..f15e901a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground001/isd/7.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "even when there is no text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/doc.json b/src/test/resources/reference-files/imsc1/ShowBackground002/doc.json new file mode 100644 index 00000000..bf4a095b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/doc.json @@ -0,0 +1,155 @@ +{ + "events": [ + 0, + 5, + 7, + 12 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The magenta background is only visible", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "when you see this text.", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 12 + } + ], + "lang": "en", + "begin": 0, + "end": 12 + } + ], + "lang": "en", + "begin": 0, + "end": 12 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html new file mode 100644 index 00000000..5678664e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The magenta background is +only visible + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html new file mode 100644 index 00000000..56432670 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +when you see this text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/0.000000.json new file mode 100644 index 00000000..08c007bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The magenta background is only visible", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/isd/12.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/12.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/12.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/5.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/5.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/isd/7.000000.json b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/7.000000.json new file mode 100644 index 00000000..628d00e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ShowBackground002/isd/7.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "when you see this text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/doc.json b/src/test/resources/reference-files/imsc1/Span001/doc.json new file mode 100644 index 00000000..515d6251 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span001/doc.json @@ -0,0 +1,116 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "visible", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html new file mode 100644 index 00000000..ce4e611c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This text must be + + +visible + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Span001/isd/0.000000.json new file mode 100644 index 00000000..99ac8cd3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span001/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "visible", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Span001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/doc.json b/src/test/resources/reference-files/imsc1/Span002/doc.json new file mode 100644 index 00000000..b9aac7f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span002/doc.json @@ -0,0 +1,123 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This word must be ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "red", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html new file mode 100644 index 00000000..4cece32a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +This word must be + + +red + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Span002/isd/0.000000.json new file mode 100644 index 00000000..af595c69 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This word must be ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "red", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Span002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/doc.json b/src/test/resources/reference-files/imsc1/Span003/doc.json new file mode 100644 index 00000000..9b8dd04b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span003/doc.json @@ -0,0 +1,125 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text must be green.", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html new file mode 100644 index 00000000..c2592170 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ + +This text must be green. + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Span003/isd/0.000000.json new file mode 100644 index 00000000..6ce3f495 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span003/isd/0.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be green.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Span003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/doc.json b/src/test/resources/reference-files/imsc1/Span004/doc.json new file mode 100644 index 00000000..8a76d6ab --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span004/doc.json @@ -0,0 +1,180 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Some of this text must ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "red ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "and", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "green", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html new file mode 100644 index 00000000..1d50049c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +Some of this text must + + + +red + + +and + + + + + +green + + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Span004/isd/0.000000.json new file mode 100644 index 00000000..d59741ae --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span004/isd/0.000000.json @@ -0,0 +1,479 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Some of this text must ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "red ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "green", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Span004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/doc.json b/src/test/resources/reference-files/imsc1/Span005/doc.json new file mode 100644 index 00000000..f2167786 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span005/doc.json @@ -0,0 +1,141 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "appear", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "on two lines.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html new file mode 100644 index 00000000..ce356ef0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +This text must + + + +appear + +
+ +on two lines. + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Span005/isd/0.000000.json new file mode 100644 index 00000000..f5e94b8f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span005/isd/0.000000.json @@ -0,0 +1,340 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "appear", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "on two lines.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Span005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Span005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/doc.json b/src/test/resources/reference-files/imsc1/Structure001/doc.json new file mode 100644 index 00000000..115c0c53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure001/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text must be visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html new file mode 100644 index 00000000..f8b6cd76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must be visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Structure001/isd/0.000000.json new file mode 100644 index 00000000..d0e8a056 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must be visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Structure001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure002/doc.json b/src/test/resources/reference-files/imsc1/Structure002/doc.json new file mode 100644 index 00000000..ba484399 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure002/doc.json @@ -0,0 +1,50 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": null, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Structure002/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Structure002/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/doc.json b/src/test/resources/reference-files/imsc1/Style001/doc.json new file mode 100644 index 00000000..6f759052 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Style001/doc.json @@ -0,0 +1,112 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is aligned in the center, has a blue background and undecorated yellow text.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html new file mode 100644 index 00000000..082ab277 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This caption is aligned in the center, has a +blue background and undecorated yellow text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Style001/isd/0.000000.json new file mode 100644 index 00000000..4f92aa62 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Style001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is aligned in the center, has a blue background and undecorated yellow text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Style001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Style001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/doc.json b/src/test/resources/reference-files/imsc1/Styling001/doc.json new file mode 100644 index 00000000..c591531a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/doc.json @@ -0,0 +1,151 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is aligned in the center, has a blue background, red text and no decoration.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is left aligned, has a green background and blue underlined text.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html new file mode 100644 index 00000000..4369e2ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This caption is aligned in the center, has a +blue background, red text and no decoration. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html new file mode 100644 index 00000000..158f12d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This caption is left aligned, has a green +background and blue underlined text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Styling001/isd/0.000000.json new file mode 100644 index 00000000..43dd8e05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is aligned in the center, has a blue background, red text and no decoration.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Styling001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/Styling001/isd/5.000000.json new file mode 100644 index 00000000..73dbc219 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Styling001/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is left aligned, has a green background and blue underlined text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/doc.json b/src/test/resources/reference-files/imsc1/TextAlign001/doc.json new file mode 100644 index 00000000..e9e7f0ba --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign001/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is on the right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html new file mode 100644 index 00000000..fb02f3bc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This caption is on the right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign001/isd/0.000000.json new file mode 100644 index 00000000..4c6d83a4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is on the right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/doc.json b/src/test/resources/reference-files/imsc1/TextAlign002/doc.json new file mode 100644 index 00000000..0bf2a522 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign002/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is on the left.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html new file mode 100644 index 00000000..0fdd88f8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This caption is on the left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign002/isd/0.000000.json new file mode 100644 index 00000000..9cb0b0b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is on the left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/doc.json b/src/test/resources/reference-files/imsc1/TextAlign003/doc.json new file mode 100644 index 00000000..7d295e62 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign003/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is in the center.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html new file mode 100644 index 00000000..dcf3b710 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This caption is in the center. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign003/isd/0.000000.json new file mode 100644 index 00000000..5d22b488 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is in the center.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/doc.json b/src/test/resources/reference-files/imsc1/TextAlign004/doc.json new file mode 100644 index 00000000..d5937a24 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/doc.json @@ -0,0 +1,115 @@ +{ + "events": [ + 0, + 1, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is placed", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "in the center.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html new file mode 100644 index 00000000..711f3a21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This caption is placed + +
+ +in the center. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign004/isd/0.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/isd/0.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/isd/1.000000.json b/src/test/resources/reference-files/imsc1/TextAlign004/isd/1.000000.json new file mode 100644 index 00000000..78e2d85c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/isd/1.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is placed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "in the center.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/doc.json b/src/test/resources/reference-files/imsc1/TextAlign005/doc.json new file mode 100644 index 00000000..23791f9f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign005/doc.json @@ -0,0 +1,114 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is aligned", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "with the start edge.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html new file mode 100644 index 00000000..e29b6c7a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This caption is aligned + +
+ +with the start edge. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign005/isd/0.000000.json new file mode 100644 index 00000000..d0cf4443 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign005/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is aligned", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the start edge.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/doc.json b/src/test/resources/reference-files/imsc1/TextAlign006/doc.json new file mode 100644 index 00000000..fc484550 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign006/doc.json @@ -0,0 +1,114 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This caption is aligned", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "with the end edge.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html new file mode 100644 index 00000000..5ef4b7bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This caption is aligned + +
+ +with the end edge. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextAlign006/isd/0.000000.json new file mode 100644 index 00000000..04e4a854 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign006/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This caption is aligned", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the end edge.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextAlign006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextAlign006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration001/doc.json new file mode 100644 index 00000000..7953c977 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration001/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text has no decoration.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html new file mode 100644 index 00000000..6202bc87 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text has no decoration. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration001/isd/0.000000.json new file mode 100644 index 00000000..ee009858 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has no decoration.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration002/doc.json new file mode 100644 index 00000000..38d3967e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration002/doc.json @@ -0,0 +1,124 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last word in this caption is ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "underlined", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html new file mode 100644 index 00000000..9d5decf8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last word in this caption is + + +underlined + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration002/isd/0.000000.json new file mode 100644 index 00000000..0d6a833d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration002/isd/0.000000.json @@ -0,0 +1,286 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last word in this caption is ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "underlined", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration003/doc.json new file mode 100644 index 00000000..706b5526 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration003/doc.json @@ -0,0 +1,142 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last two words in this caption are", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "not underlined.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html new file mode 100644 index 00000000..6101ee42 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The last two words in this caption are + + +
+ +not underlined. + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration003/isd/0.000000.json new file mode 100644 index 00000000..7dbe65e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration003/isd/0.000000.json @@ -0,0 +1,292 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last two words in this caption are", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "not underlined.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration004/doc.json new file mode 100644 index 00000000..ecb0798a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration004/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the words in this caption are underlined.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html new file mode 100644 index 00000000..25d4d25c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +All the words in this caption are +underlined. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration004/isd/0.000000.json new file mode 100644 index 00000000..21a25c37 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration004/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the words in this caption are underlined.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration005/doc.json new file mode 100644 index 00000000..ecb0798a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration005/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the words in this caption are underlined.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html new file mode 100644 index 00000000..25d4d25c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +All the words in this caption are +underlined. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration005/isd/0.000000.json new file mode 100644 index 00000000..21a25c37 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration005/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the words in this caption are underlined.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration006/doc.json new file mode 100644 index 00000000..59e9c3a2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration006/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "All the words in this caption are underlined.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html new file mode 100644 index 00000000..25d4d25c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +All the words in this caption are +underlined. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration006/isd/0.000000.json new file mode 100644 index 00000000..21a25c37 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration006/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the words in this caption are underlined.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration007/doc.json new file mode 100644 index 00000000..65dc11de --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration007/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last two words in this caption are ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "noUnderline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "not underlined", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html new file mode 100644 index 00000000..c021401e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last two words in this caption are + +
+ +not underlined + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration007/isd/0.000000.json new file mode 100644 index 00000000..7e663bc3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration007/isd/0.000000.json @@ -0,0 +1,289 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last two words in this caption are", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "not underlined", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration007/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration007/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration008/doc.json new file mode 100644 index 00000000..d5fd65a5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration008/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text contains a throughline.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html new file mode 100644 index 00000000..93e57da1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text contains a throughline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration008/isd/0.000000.json new file mode 100644 index 00000000..2b057cdd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration008/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text contains a throughline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration008/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration008/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration009/doc.json new file mode 100644 index 00000000..15ff5dcf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration009/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last four words have ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "noLineThrough" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "no line through them", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": ".", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html new file mode 100644 index 00000000..1fb18932 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +The last four words have + +
+ +no line through them + + +. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration009/isd/0.000000.json new file mode 100644 index 00000000..e7a6da79 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration009/isd/0.000000.json @@ -0,0 +1,289 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last four words have", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "no line through them", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "lineThrough" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ".", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration009/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration009/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration010/doc.json new file mode 100644 index 00000000..02d72dcb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration010/doc.json @@ -0,0 +1,99 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This entire caption contains an overline.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html new file mode 100644 index 00000000..c4b1c551 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This entire caption contains an overline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration010/isd/0.000000.json new file mode 100644 index 00000000..b24af7f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration010/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This entire caption contains an overline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration010/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration010/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration011/doc.json new file mode 100644 index 00000000..139fb1e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration011/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The first row contains an overline, ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "noOverline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "but the second row does not.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html new file mode 100644 index 00000000..4924c020 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The first row contains an overline, + +
+ +but the second row does not. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration011/isd/0.000000.json new file mode 100644 index 00000000..7c724ae2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration011/isd/0.000000.json @@ -0,0 +1,241 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "overline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The first row contains an overline,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "but the second row does not.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration011/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration011/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration012/doc.json new file mode 100644 index 00000000..26b40b0c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration012/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline", + "lineThrough" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The first text has an underline and a line through.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html new file mode 100644 index 00000000..6081a923 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The first text has an underline and a line +through. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration012/isd/0.000000.json new file mode 100644 index 00000000..63c4f5b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration012/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline", + "lineThrough" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The first text has an underline and a line through.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration012/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration012/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/doc.json b/src/test/resources/reference-files/imsc1/TextDecoration013/doc.json new file mode 100644 index 00000000..ffda7ac0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration013/doc.json @@ -0,0 +1,101 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline", + "lineThrough", + "overline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The first text has an underline, overline and a line through.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html new file mode 100644 index 00000000..40a76c56 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +The first text has an underline, overline +and a line through. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration013/isd/0.000000.json new file mode 100644 index 00000000..28615339 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration013/isd/0.000000.json @@ -0,0 +1,192 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline", + "lineThrough", + "overline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The first text has an underline, overline and a line through.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextDecoration013/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextDecoration013/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/doc.json b/src/test/resources/reference-files/imsc1/TextOutline001/doc.json new file mode 100644 index 00000000..aa9feeeb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline001/doc.json @@ -0,0 +1,119 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "value": 2, + "unit": "px" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text has no outline.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html new file mode 100644 index 00000000..a8fac85b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text has no outline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextOutline001/isd/0.000000.json new file mode 100644 index 00000000..d85b6f64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has no outline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextOutline001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/doc.json b/src/test/resources/reference-files/imsc1/TextOutline002/doc.json new file mode 100644 index 00000000..092177c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline002/doc.json @@ -0,0 +1,112 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": null, + "thickness": { + "value": 3, + "unit": "px" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text has a three-pixel outline that is the same color as the text.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html new file mode 100644 index 00000000..25ef2176 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text has a three-pixel outline that is +the same color as the text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextOutline002/isd/0.000000.json new file mode 100644 index 00000000..1bdf74fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline002/isd/0.000000.json @@ -0,0 +1,201 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 255, + 255, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.00625 + } + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has a three-pixel outline that is the same color as the text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextOutline002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/doc.json b/src/test/resources/reference-files/imsc1/TextOutline004/doc.json new file mode 100644 index 00000000..1171578f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline004/doc.json @@ -0,0 +1,114 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "value": 2, + "unit": "px" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text has a red, two-pixel outline.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html new file mode 100644 index 00000000..afac36da --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text has a red, two-pixel outline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextOutline004/isd/0.000000.json new file mode 100644 index 00000000..b978ed4d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline004/isd/0.000000.json @@ -0,0 +1,201 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.004166666666666667 + } + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has a red, two-pixel outline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextOutline004/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline004/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/doc.json b/src/test/resources/reference-files/imsc1/TextOutline005/doc.json new file mode 100644 index 00000000..87409765 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/doc.json @@ -0,0 +1,180 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "value": 5, + "unit": "%" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text has a red, 5% outline.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 0, + 255, + 0, + 255 + ], + "thickness": { + "value": 10, + "unit": "%" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text has a green, 10% outline.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html new file mode 100644 index 00000000..e9de3f9d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text has a red, 5% outline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html new file mode 100644 index 00000000..42c6eda4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html new file mode 100644 index 00000000..f5b0a412 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text has a green, 10% outline. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TextOutline005/isd/0.000000.json new file mode 100644 index 00000000..2069763f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/isd/0.000000.json @@ -0,0 +1,202 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 255, + 0, + 0, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.003333333333333333 + } + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has a red, 5% outline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/TextOutline005/isd/10.000000.json new file mode 100644 index 00000000..632ab3ad --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/isd/5.000000.json b/src/test/resources/reference-files/imsc1/TextOutline005/isd/5.000000.json new file mode 100644 index 00000000..56281d22 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TextOutline005/isd/5.000000.json @@ -0,0 +1,202 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 0, + 255, + 0, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.006666666666666666 + } + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has a green, 10% outline.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/doc.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/doc.json new file mode 100644 index 00000000..4821e032 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/doc.json @@ -0,0 +1,315 @@ +{ + "events": [ + 0, + 1.2, + 73.2, + 4393.2, + 4394.201, + 4396.201, + 8119.201, + 11842.436, + 15565.671, + 19289.505166666666, + 379289.6051666666, + 739289.6051666667 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "1.2s = 1.2s", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1.2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "1.2m = 72s", + "space": "default", + "lang": "en", + "begin": 1.2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1.2, + "end": 73.2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "1.2h = 4320s", + "space": "default", + "lang": "en", + "begin": 73.2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 73.2, + "end": 4393.2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "24f = 1.001s", + "space": "default", + "lang": "en", + "begin": 4393.2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4393.2, + "end": 4394.201 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "120t = 2s", + "space": "default", + "lang": "en", + "begin": 4394.201, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4394.201, + "end": 4396.201 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "01:02:03 = 3723s", + "space": "default", + "lang": "en", + "begin": 4396.201, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4396.201, + "end": 8119.201 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "01:02:03.235 = 3723.235s", + "space": "default", + "lang": "en", + "begin": 8119.201, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8119.201, + "end": 11842.436 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "01:02:03.2350 = 3723.235s", + "space": "default", + "lang": "en", + "begin": 11842.436, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11842.436, + "end": 15565.671 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "01:02:03:20 = 3723.83416667s", + "space": "default", + "lang": "en", + "begin": 15565.671, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15565.671, + "end": 19289.505166666666 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "100:00:00.1 = 360000.1s", + "space": "default", + "lang": "en", + "begin": 19289.505166666666, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 19289.505166666666, + "end": 379289.6051666666 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "100:00:00:00 = 360000s", + "space": "default", + "lang": "en", + "begin": 379289.6051666666, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 379289.6051666666, + "end": 739289.6051666667 + } + ], + "lang": "en", + "begin": 0, + "end": 739289.6051666667 + } + ], + "lang": "en", + "begin": 0, + "end": 739289.6051666667 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 23.976023976023978, + "tickRate": 60, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html new file mode 100644 index 00000000..2a4ec3cd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +1.2s = 1.2s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html new file mode 100644 index 00000000..369696b4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +1.2m = 72s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html new file mode 100644 index 00000000..eadfe95b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +01:02:03.2350 = 3723.235s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html new file mode 100644 index 00000000..f9b94998 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +01:02:03:20 = 3723.83416667s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html new file mode 100644 index 00000000..ae3ae424 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +100:00:00.1 = 360000.1s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html new file mode 100644 index 00000000..ded2bb32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +100:00:00:00 = 360000s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html new file mode 100644 index 00000000..523ba41e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +24f = 1.001s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html new file mode 100644 index 00000000..26190ed5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +120t = 2s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html new file mode 100644 index 00000000..443a2537 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +01:02:03 = 3723s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html new file mode 100644 index 00000000..d51badc0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +1.2h = 4320s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html new file mode 100644 index 00000000..7d7f02c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +01:02:03.235 = 3723.235s + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/0.000000.json new file mode 100644 index 00000000..9f26b326 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1.2s = 1.2s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/1.200000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/1.200000.json new file mode 100644 index 00000000..7b374ca3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/1.200000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1.2m = 72s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/11842.436000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/11842.436000.json new file mode 100644 index 00000000..bdca337a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/11842.436000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "01:02:03.2350 = 3723.235s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/15565.671000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/15565.671000.json new file mode 100644 index 00000000..281a9ad6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/15565.671000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "01:02:03:20 = 3723.83416667s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/19289.505167.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/19289.505167.json new file mode 100644 index 00000000..9bce924b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/19289.505167.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100:00:00.1 = 360000.1s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/379289.605167.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/379289.605167.json new file mode 100644 index 00000000..a54c8f9a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/379289.605167.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100:00:00:00 = 360000s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4393.200000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4393.200000.json new file mode 100644 index 00000000..2f871345 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4393.200000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "24f = 1.001s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4394.201000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4394.201000.json new file mode 100644 index 00000000..c113358c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4394.201000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "120t = 2s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4396.201000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4396.201000.json new file mode 100644 index 00000000..147b3f21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/4396.201000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "01:02:03 = 3723s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/73.200000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/73.200000.json new file mode 100644 index 00000000..079a3832 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/73.200000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1.2h = 4320s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/739289.605167.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/739289.605167.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/739289.605167.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/8119.201000.json b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/8119.201000.json new file mode 100644 index 00000000..6d4bf416 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/TimeExpressions001/isd/8119.201000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "01:02:03.235 = 3723.235s", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/doc.json b/src/test/resources/reference-files/imsc1/Tt001/doc.json new file mode 100644 index 00000000..1ea5a0c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt001/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text\n must appear on one line.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html new file mode 100644 index 00000000..251faf10 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must appear on one line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Tt001/isd/0.000000.json new file mode 100644 index 00000000..aa282393 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear on one line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Tt001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/doc.json b/src/test/resources/reference-files/imsc1/Tt002/doc.json new file mode 100644 index 00000000..d4056dd0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt002/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text\n must appear on two lines.", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html new file mode 100644 index 00000000..dfa4ac2a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +This text + + must appear on two lines. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Tt002/isd/0.000000.json new file mode 100644 index 00000000..e7497b9d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text\n must appear on two lines.", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Tt002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/doc.json b/src/test/resources/reference-files/imsc1/Tt003/doc.json new file mode 100644 index 00000000..1ea5a0c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt003/doc.json @@ -0,0 +1,95 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text\n must appear on one line.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html new file mode 100644 index 00000000..251faf10 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text must appear on one line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Tt003/isd/0.000000.json new file mode 100644 index 00000000..aa282393 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text must appear on one line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Tt003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Tt003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/doc.json b/src/test/resources/reference-files/imsc1/UnicodeBidi001/doc.json new file mode 100644 index 00000000..2663a49f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi001/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html new file mode 100644 index 00000000..88c02467 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/0.000000.json new file mode 100644 index 00000000..81e1b581 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/doc.json b/src/test/resources/reference-files/imsc1/UnicodeBidi002/doc.json new file mode 100644 index 00000000..ba747d5f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi002/doc.json @@ -0,0 +1,118 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The last three words are displayed", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "right to left.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html new file mode 100644 index 00000000..d0d50187 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The last three words are displayed + +
+ +right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/0.000000.json new file mode 100644 index 00000000..51962dd6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The last three words are displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/doc.json b/src/test/resources/reference-files/imsc1/UnicodeBidi003/doc.json new file mode 100644 index 00000000..c359c077 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi003/doc.json @@ -0,0 +1,98 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html new file mode 100644 index 00000000..e836e5d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/0.000000.json new file mode 100644 index 00000000..4e473503 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/doc.json b/src/test/resources/reference-files/imsc1/UnicodeBidi005/doc.json new file mode 100644 index 00000000..d982a6bd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html new file mode 100644 index 00000000..88c02467 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html new file mode 100644 index 00000000..aa514290 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is displayed right to left. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/0.000000.json new file mode 100644 index 00000000..0fd4e8c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/5.000000.json b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/5.000000.json new file mode 100644 index 00000000..c77221f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/UnicodeBidi005/isd/5.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/doc.json b/src/test/resources/reference-files/imsc1/Visibility001/doc.json new file mode 100644 index 00000000..c00b9489 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility001/doc.json @@ -0,0 +1,97 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html new file mode 100644 index 00000000..7f1c1816 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This text is visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Visibility001/isd/0.000000.json new file mode 100644 index 00000000..5286f909 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility001/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Visibility001/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility001/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/doc.json b/src/test/resources/reference-files/imsc1/Visibility002/doc.json new file mode 100644 index 00000000..9ac07999 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility002/doc.json @@ -0,0 +1,102 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "All the words in this caption are visible.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html new file mode 100644 index 00000000..7b438d04 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +All the words in this caption are visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Visibility002/isd/0.000000.json new file mode 100644 index 00000000..0c6d69c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility002/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "hidden", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "All the words in this caption are visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Visibility002/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility002/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/doc.json b/src/test/resources/reference-files/imsc1/Visibility003/doc.json new file mode 100644 index 00000000..e3dfc94d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility003/doc.json @@ -0,0 +1,119 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The second row of text is invisible:", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "invisible text.", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html new file mode 100644 index 00000000..68ccf425 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +The second row of text is invisible: + +
+ +invisible text. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/Visibility003/isd/0.000000.json new file mode 100644 index 00000000..2217af47 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility003/isd/0.000000.json @@ -0,0 +1,243 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The second row of text is invisible:", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "hidden", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "invisible text.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/Visibility003/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/Visibility003/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/doc.json b/src/test/resources/reference-files/imsc1/WrapOption001/doc.json new file mode 100644 index 00000000..a10a1cdd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption001/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The text in this caption wraps automatically no matter how much text is in the paragraph.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html new file mode 100644 index 00000000..02f40cd2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +The text in this caption +wraps automatically no matter +how much text is in the +paragraph. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WrapOption001/isd/0.000000.json new file mode 100644 index 00000000..5a0194fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption wraps automatically no matter how much text is in the paragraph.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WrapOption001/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/doc.json b/src/test/resources/reference-files/imsc1/WrapOption002/doc.json new file mode 100644 index 00000000..837611c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption002/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The text in this caption does not wrap, so some of the text is not visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html new file mode 100644 index 00000000..6ea7920b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The text in this caption does not wrap, so some of the text is not visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WrapOption002/isd/0.000000.json new file mode 100644 index 00000000..c0185e7b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption does not wrap, so some of the text is not visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WrapOption002/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/doc.json b/src/test/resources/reference-files/imsc1/WrapOption003/doc.json new file mode 100644 index 00000000..837611c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption003/doc.json @@ -0,0 +1,132 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The text in this caption does not wrap, so some of the text is not visible.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html new file mode 100644 index 00000000..6ea7920b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The text in this caption does not wrap, so some of the text is not visible. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WrapOption003/isd/0.000000.json new file mode 100644 index 00000000..c0185e7b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption003/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption does not wrap, so some of the text is not visible.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WrapOption003/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption003/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/doc.json b/src/test/resources/reference-files/imsc1/WrapOption004/doc.json new file mode 100644 index 00000000..05b462b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/doc.json @@ -0,0 +1,159 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The text in this caption does not wrap, extending beyond the end edge of the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "The text in this row wraps, staying within the text region.", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html new file mode 100644 index 00000000..6b66c3ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The text in this caption does not wrap, extending beyond the end edge of the text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html new file mode 100644 index 00000000..5ec4c2cd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +The text in this row wraps, +staying within the text +region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WrapOption004/isd/0.000000.json new file mode 100644 index 00000000..85fa3785 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption does not wrap, extending beyond the end edge of the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WrapOption004/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WrapOption004/isd/5.000000.json new file mode 100644 index 00000000..f3aba872 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption004/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this row wraps, staying within the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/doc.json b/src/test/resources/reference-files/imsc1/WrapOption005/doc.json new file mode 100644 index 00000000..ebdb0ad1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/doc.json @@ -0,0 +1,159 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 48, + "unit": "px" + }, + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "The text in this caption wraps, staying within the text region.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "The text in this caption does not wrap, extending beyond the end edge of the text region.", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html new file mode 100644 index 00000000..5dbf74d3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +The text in this caption +wraps, staying within the +text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html new file mode 100644 index 00000000..6b66c3ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The text in this caption does not wrap, extending beyond the end edge of the text region. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WrapOption005/isd/0.000000.json new file mode 100644 index 00000000..5296dd32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption wraps, staying within the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WrapOption005/isd/10.000000.json new file mode 100644 index 00000000..35ab39c5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WrapOption005/isd/5.000000.json new file mode 100644 index 00000000..7e59f02d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WrapOption005/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The text in this caption does not wrap, extending beyond the end edge of the text region.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/doc.json b/src/test/resources/reference-files/imsc1/WritingMode001/doc.json new file mode 100644 index 00000000..f46df861 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode001/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html new file mode 100644 index 00000000..7459a873 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed left to right + +
+ +and top to bottom. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode001/isd/0.000000.json new file mode 100644 index 00000000..b3933a19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode001/isd/10.000000.json new file mode 100644 index 00000000..4676df73 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/doc.json b/src/test/resources/reference-files/imsc1/WritingMode002/doc.json new file mode 100644 index 00000000..077f164c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/doc.json @@ -0,0 +1,177 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "with the words displayed", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "in the left-to-right direction.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html new file mode 100644 index 00000000..9bc84cf9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed right to left + +
+ +and top to bottom, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html new file mode 100644 index 00000000..3ba50830 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +with the words displayed + +
+ +in the left-to-right direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode002/isd/0.000000.json new file mode 100644 index 00000000..ab3942d7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode002/isd/10.000000.json new file mode 100644 index 00000000..f3730055 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WritingMode002/isd/5.000000.json new file mode 100644 index 00000000..0c229545 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode002/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the words displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "in the left-to-right direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/doc.json b/src/test/resources/reference-files/imsc1/WritingMode003/doc.json new file mode 100644 index 00000000..de63a91d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/doc.json @@ -0,0 +1,179 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "with the words displayed", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "in the right-to-left direction.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html new file mode 100644 index 00000000..9bc84cf9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed right to left + +
+ +and top to bottom, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html new file mode 100644 index 00000000..3414a33b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +with the words displayed + +
+ +in the right-to-left direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode003/isd/0.000000.json new file mode 100644 index 00000000..ab3942d7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode003/isd/10.000000.json new file mode 100644 index 00000000..f3730055 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WritingMode003/isd/5.000000.json new file mode 100644 index 00000000..3644dc4b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode003/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the words displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "in the right-to-left direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/doc.json b/src/test/resources/reference-files/imsc1/WritingMode004/doc.json new file mode 100644 index 00000000..02895471 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode004/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed top to bottom in the inline progression direction", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n and right to left in the block progression direction.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html new file mode 100644 index 00000000..d49eac62 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +This text is displayed +top to bottom in the +inline progression +direction + +
+ +and right to left in the +block progression +direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html new file mode 100644 index 00000000..8364e47c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode004/isd/0.000000.json new file mode 100644 index 00000000..ca3bdf1f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode004/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed top to bottom in the inline progression direction", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and right to left in the block progression direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode004/isd/10.000000.json new file mode 100644 index 00000000..1d81f34b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode004/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/doc.json b/src/test/resources/reference-files/imsc1/WritingMode005/doc.json new file mode 100644 index 00000000..19652825 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode005/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tblr" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed top to bottom", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and left to right.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html new file mode 100644 index 00000000..7be21a92 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This text is displayed +top to bottom + +
+ +and left to right. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html new file mode 100644 index 00000000..0b394db1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode005/isd/0.000000.json new file mode 100644 index 00000000..b619f9a2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode005/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed top to bottom", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and left to right.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode005/isd/10.000000.json new file mode 100644 index 00000000..82c161c4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode005/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/doc.json b/src/test/resources/reference-files/imsc1/WritingMode006/doc.json new file mode 100644 index 00000000..0ae6b15c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode006/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lr" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed left to right", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html new file mode 100644 index 00000000..7459a873 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed left to right + +
+ +and top to bottom. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode006/isd/0.000000.json new file mode 100644 index 00000000..4b5d8078 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode006/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lr", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed left to right", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode006/isd/10.000000.json new file mode 100644 index 00000000..df56bce4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode006/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "lr", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/doc.json b/src/test/resources/reference-files/imsc1/WritingMode007/doc.json new file mode 100644 index 00000000..cc5fbab3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/doc.json @@ -0,0 +1,177 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "with the words displayed", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "in the left-to-right direction.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html new file mode 100644 index 00000000..9bc84cf9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed right to left + +
+ +and top to bottom, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html new file mode 100644 index 00000000..3ba50830 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +with the words displayed + +
+ +in the left-to-right direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode007/isd/0.000000.json new file mode 100644 index 00000000..d9104c88 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode007/isd/10.000000.json new file mode 100644 index 00000000..87e0defe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WritingMode007/isd/5.000000.json new file mode 100644 index 00000000..467b3e3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode007/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the words displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "in the left-to-right direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/doc.json b/src/test/resources/reference-files/imsc1/WritingMode008/doc.json new file mode 100644 index 00000000..d797f73f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/doc.json @@ -0,0 +1,182 @@ +{ + "events": [ + 0, + 5, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling direction": "rtl" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed right to left", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "and top to bottom,", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "with the words displayed", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "in the right-to-left direction.", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html new file mode 100644 index 00000000..6456321f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This text is displayed right to left + +
+ +and top to bottom, + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html new file mode 100644 index 00000000..8623bcc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html new file mode 100644 index 00000000..85b5f200 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +with the words displayed + +
+ +in the right-to-left direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode008/isd/0.000000.json new file mode 100644 index 00000000..71344021 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed right to left", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and top to bottom,", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode008/isd/10.000000.json new file mode 100644 index 00000000..87e0defe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/isd/5.000000.json b/src/test/resources/reference-files/imsc1/WritingMode008/isd/5.000000.json new file mode 100644 index 00000000..c8eec3c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode008/isd/5.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with the words displayed", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "in the right-to-left direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/doc.json b/src/test/resources/reference-files/imsc1/WritingMode009/doc.json new file mode 100644 index 00000000..770b5cd4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode009/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text is displayed top to bottom in the inline progression direction", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n and right to left in the block progression direction.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html new file mode 100644 index 00000000..d49eac62 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +This text is displayed +top to bottom in the +inline progression +direction + +
+ +and right to left in the +block progression +direction. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html new file mode 100644 index 00000000..8364e47c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode009/isd/0.000000.json new file mode 100644 index 00000000..f8d0aae1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode009/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text is displayed top to bottom in the inline progression direction", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and right to left in the block progression direction.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/isd/10.000000.json b/src/test/resources/reference-files/imsc1/WritingMode009/isd/10.000000.json new file mode 100644 index 00000000..357f41e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode009/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/doc.json b/src/test/resources/reference-files/imsc1/WritingMode010/doc.json new file mode 100644 index 00000000..ac67ae56 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode010/doc.json @@ -0,0 +1,273 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 55, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "right": { + "id": "right", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n نشاط التدويل، W3C\n ", + "space": "default", + "lang": "ar", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ar", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n hello ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "みなさん、", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "こんにちは", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html new file mode 100644 index 00000000..56ec1bbd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html @@ -0,0 +1,33 @@ +
+
+
+
+

+ +نشاط التدويل، W3C + +

+
+
+
+
+
+
+

+ +hello + + + +みなさん、 + +
+ +こんにちは + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html b/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html new file mode 100644 index 00000000..e178baff --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/isd/0.000000.json b/src/test/resources/reference-files/imsc1/WritingMode010/isd/0.000000.json new file mode 100644 index 00000000..db958df2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode010/isd/0.000000.json @@ -0,0 +1,526 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ar", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ar", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "نشاط التدويل، W3C", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "hello ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "みなさん、", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "こんにちは", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/isd/1.000000.json b/src/test/resources/reference-files/imsc1/WritingMode010/isd/1.000000.json new file mode 100644 index 00000000..6bc3f9a5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/WritingMode010/isd/1.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.002 + }, + { + "rw": 0.011000000000000001, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.016 + }, + { + "rw": 0.002, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/doc.json b/src/test/resources/reference-files/imsc1/ZIndex001/doc.json new file mode 100644 index 00000000..abf679ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/doc.json @@ -0,0 +1,366 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1000, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r3": { + "id": "r3", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 0, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r4": { + "id": "r4", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r5": { + "id": "r5", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": -1, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r6": { + "id": "r6", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": -1000, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"1000\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"1\"", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r3", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"0\"", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r4", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"auto\"", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r5", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"-1\"", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r6", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "tts:zIndex=\"-1000\"", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html new file mode 100644 index 00000000..4ec1d623 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="1000" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html new file mode 100644 index 00000000..bc1a0a9d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="1" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html new file mode 100644 index 00000000..9d1006e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="0" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html new file mode 100644 index 00000000..0082ef8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="auto" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html new file mode 100644 index 00000000..362009ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="-1" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html new file mode 100644 index 00000000..c33eac81 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:zIndex="-1000" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/0.000000.json new file mode 100644 index 00000000..54037238 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1000, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"1000\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/1.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/1.000000.json new file mode 100644 index 00000000..66e79fe9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 1, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"1\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/2.000000.json new file mode 100644 index 00000000..ba4a71ba --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": 0, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"0\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/3.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/3.000000.json new file mode 100644 index 00000000..adf2cd68 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/3.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r4", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"auto\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/4.000000.json new file mode 100644 index 00000000..cb1928a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r5", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": -1, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"-1\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/5.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/5.000000.json new file mode 100644 index 00000000..4a594e0c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r6", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling zIndex": -1000, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:zIndex=\"-1000\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/ZIndex001/isd/6.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/ZIndex001/isd/6.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/doc.json b/src/test/resources/reference-files/imsc1/altText1/doc.json new file mode 100644 index 00000000..3de0a76a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/doc.json @@ -0,0 +1,110 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 60, + "unit": "px" + }, + "w": { + "value": 80, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "altText1-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.004166666666666667 + }, + "w": { + "rw": 0.003125, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html new file mode 100644 index 00000000..8dfb1979 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/altText1/isd/0.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/altText1/isd/1.000000.json new file mode 100644 index 00000000..2310405d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "altText1-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/altText1/isd/9.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/altText1/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio1/doc.json new file mode 100644 index 00000000..0a0ad940 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region should have (a) an aspect ratio of 4:3, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.3333333333333333, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html new file mode 100644 index 00000000..989df7df --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html new file mode 100644 index 00000000..1e254667 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This region should have (a) an +aspect ratio of 4:3, (b) be +centered within the related video +object and (c) be entirely within +the related video object frame, +and (d) have a height or width +equal to that of the related +video object frame. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html new file mode 100644 index 00000000..989df7df --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/0.000000.json new file mode 100644 index 00000000..3422d8ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/1.000000.json new file mode 100644 index 00000000..1b2b0675 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region should have (a) an aspect ratio of 4:3, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/9.000000.json new file mode 100644 index 00000000..3422d8ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio1/isd/9.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio2/doc.json new file mode 100644 index 00000000..d568a69c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region should have (a) an aspect ratio of 16:9, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html new file mode 100644 index 00000000..7f0dd2e6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This region should have (a) an aspect ratio +of 16:9, (b) be centered within the related +video object and (c) be entirely within the +related video object frame, and (d) have a +height or width equal to that of the related +video object frame. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/0.000000.json new file mode 100644 index 00000000..41b28966 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/1.000000.json new file mode 100644 index 00000000..4ad18173 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region should have (a) an aspect ratio of 16:9, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/9.000000.json new file mode 100644 index 00000000..41b28966 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio2/isd/9.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio3/doc.json new file mode 100644 index 00000000..062b2569 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "aspectRatio3-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.3333333333333333, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.008333333333333333 + }, + "w": { + "rw": 0.00625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html new file mode 100644 index 00000000..15c2ad77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html new file mode 100644 index 00000000..f7361bc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html new file mode 100644 index 00000000..15c2ad77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/0.000000.json new file mode 100644 index 00000000..e4e6be2d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/1.000000.json new file mode 100644 index 00000000..6cfad38e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "aspectRatio3-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/9.000000.json new file mode 100644 index 00000000..e4e6be2d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio3/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio4/doc.json new file mode 100644 index 00000000..770e6b6e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 90, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "aspectRatio4-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.011111111111111112 + }, + "w": { + "rw": 0.00625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html new file mode 100644 index 00000000..462cbab0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/0.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/1.000000.json new file mode 100644 index 00000000..656cfd17 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "aspectRatio4-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/9.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio4/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio5/doc.json new file mode 100644 index 00000000..49b65775 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region should fill the entire related video object frame.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html new file mode 100644 index 00000000..99613098 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This region should fill the entire related +video object frame. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/0.000000.json new file mode 100644 index 00000000..efa5d084 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/1.000000.json new file mode 100644 index 00000000..010c8b41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region should fill the entire related video object frame.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/9.000000.json new file mode 100644 index 00000000..efa5d084 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio5/isd/9.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/doc.json b/src/test/resources/reference-files/imsc1/aspectRatio6/doc.json new file mode 100644 index 00000000..0986f423 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "aspectRatio6-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.008333333333333333 + }, + "w": { + "rw": 0.00625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html new file mode 100644 index 00000000..dce38a7d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/isd/0.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/0.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/isd/1.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/1.000000.json new file mode 100644 index 00000000..734d3933 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "aspectRatio6-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/isd/9.000000.json b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/9.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/aspectRatio6/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/doc.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/doc.json new file mode 100644 index 00000000..495eeb9f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/doc.json @@ -0,0 +1,175 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html new file mode 100644 index 00000000..b7ab5ade --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/0.000000.json new file mode 100644 index 00000000..cb3f68dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/doc.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/doc.json new file mode 100644 index 00000000..8dea6f5b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/doc.json @@ -0,0 +1,239 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html new file mode 100644 index 00000000..bc6155b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +One + + + line + + + Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/0.000000.json new file mode 100644 index 00000000..27b878da --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " line", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 128, + 128, + 128, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/doc.json b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/doc.json new file mode 100644 index 00000000..e29f152e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html new file mode 100644 index 00000000..0c1e2b03 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/0.000000.json new file mode 100644 index 00000000..5e918c75 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/doc.json b/src/test/resources/reference-files/imsc1/br-in-p-001/doc.json new file mode 100644 index 00000000..12abbbf4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-p-001/doc.json @@ -0,0 +1,202 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Two- ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html new file mode 100644 index 00000000..43fcf4ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +Two- + +
+ +line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/br-in-p-001/isd/0.000000.json new file mode 100644 index 00000000..9fa40983 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-p-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Two-", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/br-in-p-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-p-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/doc.json b/src/test/resources/reference-files/imsc1/br-in-span-001/doc.json new file mode 100644 index 00000000..208256fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-span-001/doc.json @@ -0,0 +1,189 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Two- ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "line Subtitle.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html new file mode 100644 index 00000000..56c54b8a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +Two- + +
+ +line Subtitle. + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/br-in-span-001/isd/0.000000.json new file mode 100644 index 00000000..7faee972 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-span-001/isd/0.000000.json @@ -0,0 +1,293 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Two-", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line Subtitle.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/br-in-span-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/br-in-span-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/doc.json b/src/test/resources/reference-files/imsc1/cellresolution-001/doc.json new file mode 100644 index 00000000..8f9cba71 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cellresolution-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html new file mode 100644 index 00000000..2fc877d5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/cellresolution-001/isd/0.000000.json new file mode 100644 index 00000000..d2269c74 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cellresolution-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/cellresolution-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cellresolution-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/doc.json b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/doc.json new file mode 100644 index 00000000..7dbba879 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/doc.json @@ -0,0 +1,238 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "A line within one div element.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "A line within another div element.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html new file mode 100644 index 00000000..6be626bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +A line within one div element. + +

+
+
+

+ +A line within another div element. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/0.000000.json new file mode 100644 index 00000000..1bcd8486 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/0.000000.json @@ -0,0 +1,297 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A line within one div element.", + "space": "default" + } + ] + } + ] + }, + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A line within another div element.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/doc.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/doc.json new file mode 100644 index 00000000..8987f017 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/doc.json @@ -0,0 +1,293 @@ +{ + "events": [ + 0, + 2, + 4, + 6, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These lines appear step-by-step.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the second line.", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 2, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the third and last line.", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 4, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html new file mode 100644 index 00000000..b2766e5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These lines appear step-by-step. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html new file mode 100644 index 00000000..0acaed64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +These lines appear step-by-step. + +

+

+ +This is the second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html new file mode 100644 index 00000000..8d675c2e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This is the second line. + +

+

+ +This is the third and last line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html new file mode 100644 index 00000000..0176a1b1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This is the third and last line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/0.000000.json new file mode 100644 index 00000000..678d6671 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These lines appear step-by-step.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/2.000000.json new file mode 100644 index 00000000..c92089f5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/2.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These lines appear step-by-step.", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/4.000000.json new file mode 100644 index 00000000..dc40035b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/4.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the second line.", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the third and last line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/6.000000.json new file mode 100644 index 00000000..aafc4ff8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-001/isd/6.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the third and last line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/doc.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/doc.json new file mode 100644 index 00000000..d23cbca7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/doc.json @@ -0,0 +1,487 @@ +{ + "events": [ + 0, + 2, + 4, + 6, + 8, + 10, + 12 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These lines appear step-by-step.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These lines appear step-by-step.", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 2, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the second line.", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 4, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the second line.", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 6, + "end": 8 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the third and last line.", + "begin": 8, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 8, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This is the third and last line.", + "begin": 10, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 10, + "end": 12 + } + ], + "lang": "de", + "begin": 0, + "end": 12 + } + ], + "lang": "de", + "begin": 0, + "end": 12 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html new file mode 100644 index 00000000..b2766e5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These lines appear step-by-step. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html new file mode 100644 index 00000000..0176a1b1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This is the third and last line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html new file mode 100644 index 00000000..b2766e5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These lines appear step-by-step. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html new file mode 100644 index 00000000..5440fec0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This is the second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html new file mode 100644 index 00000000..5440fec0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This is the second line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html new file mode 100644 index 00000000..0176a1b1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +This is the third and last line. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/0.000000.json new file mode 100644 index 00000000..678d6671 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These lines appear step-by-step.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/10.000000.json new file mode 100644 index 00000000..aafc4ff8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/10.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the third and last line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/12.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/12.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/12.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/2.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/2.000000.json new file mode 100644 index 00000000..678d6671 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These lines appear step-by-step.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/4.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/4.000000.json new file mode 100644 index 00000000..0d59972c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/6.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/6.000000.json new file mode 100644 index 00000000..0d59972c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/6.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the second line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/8.000000.json b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/8.000000.json new file mode 100644 index 00000000..aafc4ff8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-rows-002/isd/8.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This is the third and last line.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/doc.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/doc.json new file mode 100644 index 00000000..e2ae057a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/doc.json @@ -0,0 +1,261 @@ +{ + "events": [ + 0, + 2, + 4, + 6, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": " words", + "begin": 2, + "end": 10 + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": " appear", + "begin": 4, + "end": 10 + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": " step-by-step.", + "begin": 6, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html new file mode 100644 index 00000000..68b4923b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html new file mode 100644 index 00000000..8ae634a1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html new file mode 100644 index 00000000..1569a4e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +These + + + words + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html new file mode 100644 index 00000000..2575cc58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +These + + + words + + + appear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html new file mode 100644 index 00000000..448d22a2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ +These + + + words + + + appear + + + step-by-step. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/0.000000.json new file mode 100644 index 00000000..9bb5facd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/10.000000.json new file mode 100644 index 00000000..d88690c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/2.000000.json new file mode 100644 index 00000000..509275c8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/2.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " words", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/4.000000.json new file mode 100644 index 00000000..296748f2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/4.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " words", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " appear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/6.000000.json new file mode 100644 index 00000000..d1ae1383 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-001/isd/6.000000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " words", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " appear", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " step-by-step.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/doc.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/doc.json new file mode 100644 index 00000000..cd0bdc3b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/doc.json @@ -0,0 +1,358 @@ +{ + "events": [ + 0, + 2, + 3, + 4, + 5, + 6 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These words", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These words appear", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "These words appear step-by-step.", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 5, + "end": 6 + } + ], + "lang": "de", + "begin": 0, + "end": 6 + } + ], + "lang": "de", + "begin": 0, + "end": 6 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html new file mode 100644 index 00000000..68b4923b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html new file mode 100644 index 00000000..0b2a0d31 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These words + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html new file mode 100644 index 00000000..013c55e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These words appear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html new file mode 100644 index 00000000..6b0a3517 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +These words appear step-by-step. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/0.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/2.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/2.000000.json new file mode 100644 index 00000000..9bb5facd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/3.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/3.000000.json new file mode 100644 index 00000000..84cd4105 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/3.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These words", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/4.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/4.000000.json new file mode 100644 index 00000000..0bbb30dd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These words appear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/5.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/5.000000.json new file mode 100644 index 00000000..b38df467 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "These words appear step-by-step.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/6.000000.json b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/6.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/cumulative-words-002/isd/6.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/doc.json b/src/test/resources/reference-files/imsc1/displayalign-after-001/doc.json new file mode 100644 index 00000000..8182db11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-after-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html new file mode 100644 index 00000000..06f3b7e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/0.000000.json new file mode 100644 index 00000000..9223ce94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-after-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/doc.json b/src/test/resources/reference-files/imsc1/displayalign-before-001/doc.json new file mode 100644 index 00000000..9dd49275 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-before-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html new file mode 100644 index 00000000..76bc2bd7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/0.000000.json new file mode 100644 index 00000000..1491e465 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-before-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/doc.json b/src/test/resources/reference-files/imsc1/displayalign-center-001/doc.json new file mode 100644 index 00000000..f882fe6a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-center-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "center": { + "id": "center", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "center", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html new file mode 100644 index 00000000..321cc3d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/0.000000.json new file mode 100644 index 00000000..d2f4ace2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/displayalign-center-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/file-list.json b/src/test/resources/reference-files/imsc1/file-list.json new file mode 100644 index 00000000..e8c27637 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/file-list.json @@ -0,0 +1,1468 @@ +{ + "ActiveArea001": [ + "0.000000", + "6.000000" + ], + "Animation001": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation002": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation003": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation004": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation007": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation008": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation012": [ + "0.000000", + "5.000000", + "10.000000", + "16.000000", + "20.000000" + ], + "Animation013": [ + "0.000000", + "2.000000", + "4.000000", + "6.000000", + "10.000000", + "20.000000" + ], + "Animation014": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "Animation015": [ + "0.000000", + "3.000000", + "8.000000", + "10.000000" + ], + "Animation016": [ + "0.000000", + "3.000000", + "8.000000", + "10.000000" + ], + "Animation017": [ + "0.000000", + "5.000000", + "10.000000" + ], + "Animation018": [ + "0.000000", + "5.000000", + "10.000000" + ], + "BackgroundColor001": [ + "0.000000", + "10.000000" + ], + "BackgroundColor002": [ + "0.000000", + "10.000000" + ], + "BackgroundColor003": [ + "0.000000", + "10.000000" + ], + "BackgroundColor004": [ + "0.000000", + "10.000000" + ], + "BackgroundColor005": [ + "0.000000", + "10.000000" + ], + "BackgroundColor006": [ + "0.000000", + "10.000000" + ], + "BackgroundColor007": [ + "0.000000", + "10.000000" + ], + "BackgroundColor008": [ + "0.000000", + "10.000000" + ], + "BackgroundColor009": [ + "0.000000", + "10.000000" + ], + "BackgroundColor010": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "21.000000", + "22.000000", + "23.000000" + ], + "backgroundColor-region-p-span-001": [ + "0.000000", + "10.000000" + ], + "backgroundColor-region-p-span-002": [ + "0.000000", + "10.000000" + ], + "backgroundcolor-rgba-001": [ + "0.000000", + "10.000000" + ], + "BasicTimeContainment001": [ + "0.000000", + "5.000000", + "10.000000" + ], + "BasicTimeContainment002": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000" + ], + "BasicTimeContainment003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "BasicTimeContainment004": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "BasicTiming001": [ + "0.000000", + "10.000000", + "20.000000" + ], + "BasicTiming002": [ + "0.000000", + "10.000000", + "20.000000" + ], + "BasicTiming003": [ + "0.000000", + "10.000000", + "20.000000" + ], + "BasicTiming005": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000" + ], + "BasicTiming006": [ + "0.000000", + "15.000000" + ], + "BasicTiming007": [ + "0.000000", + "5.000000", + "15.000000", + "20.000000" + ], + "BasicTiming008": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "15.000000", + "21.000000", + "22.000000", + "23.000000", + "24.000000", + "25.000000", + "26.000000" + ], + "BasicTiming010": [ + "0.000000", + "10.000000", + "24.400000", + "25.000000", + "35.000000", + "40.000000" + ], + "BasicTiming011": [ + "0.000000", + "0.187500", + "0.375000", + "0.562500", + "0.750000", + "0.937500", + "1.125000", + "1.312500", + "1.500000", + "1.687500", + "1.875000", + "2.062500", + "2.250000", + "2.437500", + "2.625000", + "2.812500", + "3.000000" + ], + "BasicTiming012": [ + "0.000000", + "0.187500", + "0.375000", + "0.562500", + "0.750000", + "0.937500", + "1.125000", + "1.312500", + "1.500000", + "1.687500", + "1.875000", + "2.062500", + "2.250000", + "2.437500", + "2.625000", + "2.812500", + "3.000000", + "3.187500", + "3.375000" + ], + "BeginDur001": [ + "0.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "25.000000" + ], + "BeginEnd001": [ + "0.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "25.000000" + ], + "BeginEnd002": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "20.000000" + ], + "BeginEnd003": [ + "0.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "25.000000" + ], + "TimeExpressions001": [ + "0.000000", + "1.200000", + "73.200000", + "4393.200000", + "4394.201000", + "4396.201000", + "8119.201000", + "11842.436000", + "15565.671000", + "19289.505167", + "379289.605167", + "739289.605167" + ], + "Br001": [ + "0.000000", + "10.000000" + ], + "br-in-p-001": [ + "0.000000", + "10.000000" + ], + "br-in-span-001": [ + "0.000000", + "10.000000" + ], + "cellresolution-001": [ + "0.000000", + "10.000000" + ], + "Color001": [ + "0.000000", + "10.000000" + ], + "Color002": [ + "0.000000", + "10.000000" + ], + "Color003": [ + "0.000000", + "10.000000" + ], + "Color004": [ + "0.000000", + "10.000000" + ], + "Color005": [ + "0.000000", + "10.000000" + ], + "Color007": [ + "0.000000", + "10.000000" + ], + "Color008": [ + "0.000000", + "10.000000" + ], + "Color009": [ + "0.000000", + "10.000000" + ], + "content-in-multiple-div-001": [ + "0.000000", + "10.000000" + ], + "cumulative-rows-001": [ + "0.000000", + "2.000000", + "4.000000", + "6.000000", + "10.000000" + ], + "cumulative-rows-002": [ + "0.000000", + "2.000000", + "4.000000", + "6.000000", + "8.000000", + "10.000000", + "12.000000" + ], + "cumulative-words-001": [ + "0.000000", + "2.000000", + "4.000000", + "6.000000", + "10.000000" + ], + "cumulative-words-002": [ + "0.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000" + ], + "Direction001": [ + "0.000000", + "10.000000" + ], + "Direction002": [ + "0.000000", + "10.000000" + ], + "Direction003": [ + "0.000000", + "10.000000" + ], + "Direction004": [ + "0.000000", + "10.000000" + ], + "Direction005": [ + "0.000000", + "10.000000" + ], + "Direction006": [ + "0.000000", + "10.000000" + ], + "Display001": [ + "0.000000", + "10.000000" + ], + "Display002": [ + "0.000000", + "5.000000", + "10.000000" + ], + "Display004": [ + "0.000000", + "10.000000" + ], + "DisplayAlign001": [ + "0.000000", + "10.000000" + ], + "DisplayAlign002": [ + "0.000000", + "10.000000" + ], + "DisplayAlign003": [ + "0.000000", + "10.000000" + ], + "DisplayAlign004": [ + "0.000000", + "1.000000" + ], + "displayalign-after-001": [ + "0.000000", + "10.000000" + ], + "displayalign-before-001": [ + "0.000000", + "10.000000" + ], + "displayalign-center-001": [ + "0.000000", + "10.000000" + ], + "Div001": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "Div002": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000" + ], + "Div003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000" + ], + "DocumentExample120": [ + "0.000000", + "0.760000", + "3.450000", + "5.000000", + "10.000000", + "16.000000", + "17.200000", + "23.000000", + "27.000000", + "28.000000", + "34.600000", + "45.000000", + "52.000000", + "53.500000", + "58.700000" + ], + "DocumentExample822": [ + "0.000000", + "10.000000" + ], + "DocumentExample823": [ + "0.000000", + "10.000000" + ], + "DocumentExample824": [ + "0.000000", + "10.000000" + ], + "DocumentExample825": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000" + ], + "Extent001": [ + "0.000000", + "10.000000" + ], + "Extent002": [ + "0.000000", + "10.000000" + ], + "FixedBeginEnd002": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "20.000000" + ], + "FillLineGap001": [ + "0.000000", + "30.000000" + ], + "FillLineGap002": [ + "0.000000", + "30.000000" + ], + "FillLineGap003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000", + "35.000000", + "40.000000" + ], + "FillLineGap004": [ + "0.000000", + "1.000000" + ], + "FontFamily001": [ + "0.000000", + "10.000000" + ], + "FontFamily002": [ + "0.000000", + "10.000000" + ], + "FontFamily003": [ + "0.000000", + "10.000000" + ], + "FontFamily004": [ + "0.000000", + "10.000000" + ], + "FontFamily005": [ + "0.000000", + "10.000000" + ], + "FontFamily006": [ + "0.000000", + "10.000000" + ], + "FontFamily007": [ + "0.000000", + "10.000000" + ], + "FontFamily008": [ + "0.000000", + "10.000000" + ], + "FontFamily009": [ + "0.000000", + "10.000000" + ], + "fontsize-001": [ + "0.000000", + "10.000000" + ], + "FontSize001": [ + "0.000000", + "10.000000" + ], + "FontSize002": [ + "0.000000", + "10.000000" + ], + "FontSize004": [ + "0.000000", + "10.000000" + ], + "FontStyle001": [ + "0.000000", + "10.000000" + ], + "FontStyle002": [ + "0.000000", + "10.000000" + ], + "FontStyle003": [ + "0.000000", + "10.000000" + ], + "font-style-normal-001": [ + "0.000000", + "10.000000" + ], + "font-weight-001": [ + "0.000000", + "10.000000" + ], + "FontWeight001": [ + "0.000000", + "10.000000" + ], + "FontWeight002": [ + "0.000000", + "10.000000" + ], + "font-weight-normal-001": [ + "0.000000", + "10.000000" + ], + "Foreign001": [ + "0.000000", + "5.000000" + ], + "foreign-namespace-in-header-001": [ + "0.000000", + "10.000000" + ], + "foreign-namespace-in-p-001": [ + "0.000000", + "10.000000" + ], + "four-active-regions-001": [ + "0.000000", + "10.000000" + ], + "idrefs-style-001": [ + "0.000000", + "10.000000" + ], + "initial-value-cellresolution-001": [ + "0.000000", + "10.000000" + ], + "lineheight-001": [ + "0.000000", + "10.000000" + ], + "LineHeight001": [ + "0.000000", + "10.000000" + ], + "LineHeight002": [ + "0.000000", + "10.000000" + ], + "LineHeight003": [ + "0.000000", + "10.000000" + ], + "LineHeight006": [ + "0.000000", + "10.000000" + ], + "linepadding-001": [ + "0.000000", + "10.000000" + ], + "MediaParTiming001": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "MediaParTiming002": [ + "0.000000", + "5.000000", + "10.000000", + "20.000000", + "25.000000" + ], + "MediaParTiming003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "40.000000" + ], + "MediaSeqTiming001": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "MediaSeqTiming002": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000", + "35.000000", + "40.000000" + ], + "MediaSeqTiming003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000", + "35.000000", + "40.000000" + ], + "MediaSeqTiming004": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000", + "35.000000", + "40.000000" + ], + "MediaSeqTiming005": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000", + "35.000000", + "40.000000" + ], + "MediaSeqTiming006": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "MediaSeqTiming007": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000", + "25.000000", + "30.000000" + ], + "multirow-align-center-auto-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-center-center-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-center-end-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-center-start-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-end-center-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-end-start-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-start-center-001": [ + "0.000000", + "10.000000" + ], + "multirow-align-start-end-001": [ + "0.000000", + "10.000000" + ], + "mutiple-regions-sequence-001": [ + "0.000000", + "2.000000", + "4.000000", + "6.000000", + "10.000000", + "12.000000", + "14.000000", + "16.000000" + ], + "Opacity001": [ + "0.000000", + "10.000000" + ], + "Opacity002": [ + "0.000000", + "10.000000" + ], + "Opacity003": [ + "0.000000", + "10.000000" + ], + "Opacity004": [ + "0.000000", + "10.000000" + ], + "Origin001": [ + "0.000000", + "10.000000" + ], + "Origin002": [ + "0.000000", + "10.000000" + ], + "Overflow001": [ + "0.000000", + "10.000000" + ], + "Overflow002": [ + "0.000000", + "10.000000" + ], + "Overflow003": [ + "0.000000", + "10.000000" + ], + "Overflow004": [ + "0.000000", + "10.000000" + ], + "Overflow005": [ + "0.000000", + "10.000000" + ], + "overflow-hidden-001": [ + "0.000000", + "10.000000" + ], + "overflow-visible-001": [ + "0.000000", + "10.000000" + ], + "Padding001": [ + "0.000000", + "10.000000" + ], + "Padding002": [ + "0.000000", + "5.000000", + "10.000000" + ], + "Padding003": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000" + ], + "Padding004": [ + "0.000000", + "5.000000", + "10.000000", + "15.000000", + "20.000000" + ], + "Padding006": [ + "0.000000", + "10.000000" + ], + "Padding007": [ + "0.000000", + "10.000000" + ], + "padding-four-values-001": [ + "0.000000", + "10.000000" + ], + "padding-one-value-001": [ + "0.000000", + "10.000000" + ], + "padding-three-values-001": [ + "0.000000", + "10.000000" + ], + "padding-two-values-001": [ + "0.000000", + "10.000000" + ], + "Paragraph001": [ + "0.000000", + "10.000000" + ], + "Paragraph002": [ + "0.000000" + ], + "Paragraph003": [ + "0.000000", + "10.000000" + ], + "Paragraph004": [ + "0.000000", + "10.000000" + ], + "Paragraph005": [ + "0.000000", + "10.000000" + ], + "Parameters006": [ + "0.000000" + ], + "ShowBackground001": [ + "0.000000", + "5.000000", + "7.000000", + "12.000000" + ], + "ShowBackground002": [ + "0.000000", + "5.000000", + "7.000000", + "12.000000" + ], + "space-preserve-001": [ + "0.000000", + "10.000000" + ], + "Span001": [ + "0.000000", + "10.000000" + ], + "Span002": [ + "0.000000", + "10.000000" + ], + "Span003": [ + "0.000000", + "10.000000" + ], + "Span004": [ + "0.000000", + "10.000000" + ], + "Span005": [ + "0.000000", + "10.000000" + ], + "special-character-001": [ + "0.000000", + "10.000000" + ], + "Style001": [ + "0.000000", + "10.000000" + ], + "styleInheritance-001": [ + "0.000000", + "10.000000" + ], + "Styling001": [ + "0.000000", + "5.000000", + "10.000000" + ], + "TextAlign001": [ + "0.000000", + "10.000000" + ], + "TextAlign002": [ + "0.000000", + "10.000000" + ], + "TextAlign003": [ + "0.000000", + "10.000000" + ], + "TextAlign004": [ + "0.000000", + "1.000000", + "10.000000" + ], + "TextAlign005": [ + "0.000000", + "10.000000" + ], + "TextAlign006": [ + "0.000000", + "10.000000" + ], + "textalign-center-001": [ + "0.000000", + "10.000000" + ], + "textalign-end-001": [ + "0.000000", + "10.000000" + ], + "textalign-left-001": [ + "0.000000", + "10.000000" + ], + "textalign-right-001": [ + "0.000000", + "10.000000" + ], + "textalign-start-001": [ + "0.000000", + "10.000000" + ], + "TextDecoration001": [ + "0.000000", + "10.000000" + ], + "TextDecoration002": [ + "0.000000", + "10.000000" + ], + "TextDecoration003": [ + "0.000000", + "10.000000" + ], + "TextDecoration004": [ + "0.000000", + "10.000000" + ], + "TextDecoration005": [ + "0.000000", + "10.000000" + ], + "TextDecoration006": [ + "0.000000", + "10.000000" + ], + "TextDecoration007": [ + "0.000000", + "10.000000" + ], + "TextDecoration008": [ + "0.000000", + "10.000000" + ], + "TextDecoration009": [ + "0.000000", + "10.000000" + ], + "TextDecoration010": [ + "0.000000", + "10.000000" + ], + "TextDecoration011": [ + "0.000000", + "10.000000" + ], + "TextDecoration012": [ + "0.000000", + "10.000000" + ], + "TextDecoration013": [ + "0.000000", + "10.000000" + ], + "text-decoration-none-001": [ + "0.000000", + "10.000000" + ], + "TextOutline001": [ + "0.000000", + "10.000000" + ], + "TextOutline002": [ + "0.000000", + "10.000000" + ], + "TextOutline004": [ + "0.000000", + "10.000000" + ], + "TextOutline005": [ + "0.000000", + "5.000000", + "10.000000" + ], + "timing-on-span-001": [ + "0.000000", + "10.000000" + ], + "timing-on-span-002": [ + "0.000000", + "4.000000", + "10.000000" + ], + "Tt001": [ + "0.000000", + "10.000000" + ], + "Tt002": [ + "0.000000", + "10.000000" + ], + "Tt003": [ + "0.000000", + "10.000000" + ], + "UnicodeBidi001": [ + "0.000000", + "10.000000" + ], + "UnicodeBidi002": [ + "0.000000", + "10.000000" + ], + "UnicodeBidi003": [ + "0.000000", + "10.000000" + ], + "UnicodeBidi005": [ + "0.000000", + "5.000000", + "10.000000" + ], + "unicode-bidi-embed-direction-ltr-001": [ + "0.000000", + "10.000000" + ], + "unicode-bidi-embed-direction-rtl-001": [ + "0.000000", + "10.000000" + ], + "unicode-bidi-override-direction-rtl-001": [ + "0.000000", + "10.000000" + ], + "Visibility001": [ + "0.000000", + "10.000000" + ], + "Visibility002": [ + "0.000000", + "10.000000" + ], + "Visibility003": [ + "0.000000", + "10.000000" + ], + "WrapOption001": [ + "0.000000", + "10.000000" + ], + "WrapOption002": [ + "0.000000", + "10.000000" + ], + "WrapOption003": [ + "0.000000", + "10.000000" + ], + "WrapOption004": [ + "0.000000", + "5.000000", + "10.000000" + ], + "WrapOption005": [ + "0.000000", + "5.000000", + "10.000000" + ], + "wrapoption-nowrap-001": [ + "0.000000", + "10.000000" + ], + "wrapoption-wrap-001": [ + "0.000000", + "10.000000" + ], + "WritingMode001": [ + "0.000000", + "10.000000" + ], + "WritingMode002": [ + "0.000000", + "5.000000", + "10.000000" + ], + "WritingMode003": [ + "0.000000", + "5.000000", + "10.000000" + ], + "WritingMode004": [ + "0.000000", + "10.000000" + ], + "WritingMode005": [ + "0.000000", + "10.000000" + ], + "WritingMode006": [ + "0.000000", + "10.000000" + ], + "WritingMode007": [ + "0.000000", + "5.000000", + "10.000000" + ], + "WritingMode008": [ + "0.000000", + "5.000000", + "10.000000" + ], + "WritingMode009": [ + "0.000000", + "10.000000" + ], + "WritingMode010": [ + "0.000000", + "1.000000" + ], + "writing-mode-lr-001": [ + "0.000000", + "10.000000" + ], + "writing-mode-lrtb-001": [ + "0.000000", + "10.000000" + ], + "writing-mode-rl-001": [ + "0.000000", + "10.000000" + ], + "writing-mode-rltb-001": [ + "0.000000", + "10.000000" + ], + "writing-mode-tb-001": [ + "0.000000", + "2.000000", + "4.000000" + ], + "writing-mode-tbrl-001": [ + "0.000000", + "2.000000", + "4.000000" + ], + "referenceFonts1": [ + "0.000000", + "9.000000" + ], + "forcedDisplay1-forced": [ + "0.000000", + "1.000000", + "9.000000" + ], + "forcedDisplay1": [ + "0.000000", + "1.000000", + "9.000000" + ], + "altText1": [ + "0.000000", + "1.000000", + "9.000000" + ], + "linePadding1": [ + "0.000000", + "1.000000", + "9.000000" + ], + "linePadding2": [ + "0.000000", + "9.000000" + ], + "linePadding3": [ + "0.000000", + "9.000000" + ], + "linePadding4": [ + "0.000000", + "10.000000" + ], + "LinePadding005": [ + "0.000000", + "1.000000" + ], + "LinePadding006": [ + "0.000000", + "2.459000", + "2.726000" + ], + "multiRowAlign1": [ + "0.000000", + "1.000000", + "9.000000" + ], + "progressivelyDecodable1": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000" + ], + "aspectRatio1": [ + "0.000000", + "1.000000", + "9.000000" + ], + "aspectRatio2": [ + "0.000000", + "1.000000", + "9.000000" + ], + "aspectRatio3": [ + "0.000000", + "1.000000", + "9.000000" + ], + "aspectRatio4": [ + "0.000000", + "1.000000", + "9.000000" + ], + "aspectRatio5": [ + "0.000000", + "1.000000", + "9.000000" + ], + "aspectRatio6": [ + "0.000000", + "1.000000", + "9.000000" + ], + "nested-region-001": [ + "0.000000" + ], + "Structure001": [ + "0.000000", + "10.000000" + ], + "Structure002": [ + "0.000000" + ], + "ZIndex001": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000" + ], + "unicode-non-bmp-character": [ + "0.000000" + ], + "region-timing": [ + "0.000000", + "5.000000", + "10.000000", + "12.000000", + "15.000000", + "16.000000", + "18.000000", + "20.000000", + "25.000000" + ] +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/doc.json b/src/test/resources/reference-files/imsc1/font-style-normal-001/doc.json new file mode 100644 index 00000000..cb4cc596 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-style-normal-001/doc.json @@ -0,0 +1,229 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html new file mode 100644 index 00000000..7e441e11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +One + + +line + + +Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/0.000000.json new file mode 100644 index 00000000..646e4277 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-style-normal-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/doc.json b/src/test/resources/reference-files/imsc1/font-weight-001/doc.json new file mode 100644 index 00000000..a34cdbe2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-001/doc.json @@ -0,0 +1,195 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html new file mode 100644 index 00000000..29260a15 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +One line + + +Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/font-weight-001/isd/0.000000.json new file mode 100644 index 00000000..e9af5518 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-001/isd/0.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/font-weight-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/doc.json b/src/test/resources/reference-files/imsc1/font-weight-normal-001/doc.json new file mode 100644 index 00000000..3aa36f0c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-normal-001/doc.json @@ -0,0 +1,229 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html new file mode 100644 index 00000000..4f846379 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +One + + +line + + +Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/0.000000.json new file mode 100644 index 00000000..01c129fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/font-weight-normal-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/doc.json b/src/test/resources/reference-files/imsc1/fontsize-001/doc.json new file mode 100644 index 00000000..6a8217ad --- /dev/null +++ b/src/test/resources/reference-files/imsc1/fontsize-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 80, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html new file mode 100644 index 00000000..667533ed --- /dev/null +++ b/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/fontsize-001/isd/0.000000.json new file mode 100644 index 00000000..09eea2dd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/fontsize-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.08 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/fontsize-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/fontsize-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/doc.json b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/doc.json new file mode 100644 index 00000000..3004f7bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/doc.json @@ -0,0 +1,204 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Hidden if displayForcedOnlyMode is true.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should be displayed in all circumstances.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html new file mode 100644 index 00000000..596a77d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html new file mode 100644 index 00000000..151f4ac5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +Hidden if +displayForcedOnlyMode is +true. + +

+
+
+
+
+
+
+

+ +This text should be +displayed in all +circumstances. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html new file mode 100644 index 00000000..596a77d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/0.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/0.000000.json new file mode 100644 index 00000000..49634d3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/0.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/1.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/1.000000.json new file mode 100644 index 00000000..a8c5989f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/1.000000.json @@ -0,0 +1,382 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Hidden if displayForcedOnlyMode is true.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should be displayed in all circumstances.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/9.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/9.000000.json new file mode 100644 index 00000000..49634d3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/isd/9.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/doc.json b/src/test/resources/reference-files/imsc1/forcedDisplay1/doc.json new file mode 100644 index 00000000..3004f7bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/doc.json @@ -0,0 +1,204 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Hidden if displayForcedOnlyMode is true.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should be displayed in all circumstances.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html new file mode 100644 index 00000000..c2a82cc4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html new file mode 100644 index 00000000..0187b784 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +Hidden if +displayForcedOnlyMode is +true. + +

+
+
+
+
+
+
+

+ +This text should be +displayed in all +circumstances. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html new file mode 100644 index 00000000..c2a82cc4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/0.000000.json new file mode 100644 index 00000000..49634d3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/0.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/1.000000.json new file mode 100644 index 00000000..a8c5989f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/1.000000.json @@ -0,0 +1,382 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Hidden if displayForcedOnlyMode is true.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should be displayed in all circumstances.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/9.000000.json new file mode 100644 index 00000000..49634d3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/forcedDisplay1/isd/9.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": true, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto" + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/doc.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/doc.json new file mode 100644 index 00000000..03a43431 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Foreign namespace test.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html new file mode 100644 index 00000000..6d032640 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Foreign namespace test. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/0.000000.json new file mode 100644 index 00000000..b8923b05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Foreign namespace test.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/doc.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/doc.json new file mode 100644 index 00000000..436a8d23 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Foreign namespace test.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html new file mode 100644 index 00000000..6d032640 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Foreign namespace test. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/0.000000.json new file mode 100644 index 00000000..b8923b05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Foreign namespace test.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/doc.json b/src/test/resources/reference-files/imsc1/four-active-regions-001/doc.json new file mode 100644 index 00000000..e87cc8aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/four-active-regions-001/doc.json @@ -0,0 +1,447 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "startBefore": { + "id": "startBefore", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "endBefore": { + "id": "endBefore", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "startAfter": { + "id": "startAfter", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "endAfter": { + "id": "endAfter", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "startBefore", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "start/before", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "endBefore", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "end/before", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "startAfter", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "start/after", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "endAfter", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "end/after", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html new file mode 100644 index 00000000..00d6d5dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html @@ -0,0 +1,46 @@ +
+
+
+
+

+ +start/before + +

+
+
+
+
+
+
+

+ +end/before + +

+
+
+
+
+
+
+

+ +start/after + +

+
+
+
+
+
+
+

+ +end/after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html new file mode 100644 index 00000000..5479199b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html @@ -0,0 +1,10 @@ +
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/0.000000.json new file mode 100644 index 00000000..0f9c0a2c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/0.000000.json @@ -0,0 +1,746 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/10.000000.json new file mode 100644 index 00000000..abed84b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/four-active-regions-001/isd/10.000000.json @@ -0,0 +1,250 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/doc.json b/src/test/resources/reference-files/imsc1/idrefs-style-001/doc.json new file mode 100644 index 00000000..6afdee60 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/idrefs-style-001/doc.json @@ -0,0 +1,165 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Should be: background black, text: bold, italic, yellow color", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html new file mode 100644 index 00000000..0dfbb500 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +Should be: background black, text: bold, +italic, yellow color + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/0.000000.json new file mode 100644 index 00000000..1d344104 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontWeight": "bold", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Should be: background black, text: bold, italic, yellow color", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/idrefs-style-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/doc.json b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/doc.json new file mode 100644 index 00000000..0a3333be --- /dev/null +++ b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "The initial cell grid has 15 rows.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html new file mode 100644 index 00000000..200cac02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +The initial cell grid has 15 rows. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/0.000000.json new file mode 100644 index 00000000..93f40f57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The initial cell grid has 15 rows.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/doc.json b/src/test/resources/reference-files/imsc1/linePadding1/doc.json new file mode 100644 index 00000000..a9372add --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/doc.json @@ -0,0 +1,299 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 90, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 90, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Centered text on two lines", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "without padding.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Centered text on two lines", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "with padding.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html new file mode 100644 index 00000000..fa5fda7c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html @@ -0,0 +1,36 @@ +
+
+
+
+

+ + +Centered text on two lines + +
+ +without padding. + +
+

+
+
+
+
+
+
+

+ + +Centered text on two lines + +
+ +with padding. + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/linePadding1/isd/0.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/linePadding1/isd/1.000000.json new file mode 100644 index 00000000..ae388aa2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/isd/1.000000.json @@ -0,0 +1,586 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Centered text on two lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "without padding.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "rw": 0.015625, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Centered text on two lines", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "with padding.", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/linePadding1/isd/9.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding1/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/doc.json b/src/test/resources/reference-files/imsc1/linePadding2/doc.json new file mode 100644 index 00000000..c7de7f8c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding2/doc.json @@ -0,0 +1,294 @@ +{ + "events": [ + 0, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 15, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\nThere", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " should be", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\none ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line break\n\n", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " \n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html new file mode 100644 index 00000000..a4c8d3e4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html @@ -0,0 +1,27 @@ +
+
+
+
+

+ + +There + + + should be + +
+ + +one + + +line break + + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/isd/0.000000.json b/src/test/resources/reference-files/imsc1/linePadding2/isd/0.000000.json new file mode 100644 index 00000000..30c09ed8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding2/isd/0.000000.json @@ -0,0 +1,438 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "rw": 0.015625, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "There", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " should be", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "one ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line break", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/isd/9.000000.json b/src/test/resources/reference-files/imsc1/linePadding2/isd/9.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding2/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/doc.json b/src/test/resources/reference-files/imsc1/linePadding3/doc.json new file mode 100644 index 00000000..445f971d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding3/doc.json @@ -0,0 +1,240 @@ +{ + "events": [ + 0, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 15, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": " No spaces\n", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": "Two lines with spaces ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": " ", + "begin": 0, + "end": "Infinity" + } + ], + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html new file mode 100644 index 00000000..c8b9262c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +No spaces + +
+ + + + + + +Two lines with spaces + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/isd/0.000000.json b/src/test/resources/reference-files/imsc1/linePadding3/isd/0.000000.json new file mode 100644 index 00000000..371edb14 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding3/isd/0.000000.json @@ -0,0 +1,437 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "urn:ebu:tt:style linePadding": { + "rw": 0.015625, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "No spaces", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 153, + 50, + 204, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "\n", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Two lines with spaces ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "\n", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ], + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/isd/9.000000.json b/src/test/resources/reference-files/imsc1/linePadding3/isd/9.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding3/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/doc.json b/src/test/resources/reference-files/imsc1/linePadding4/doc.json new file mode 100644 index 00000000..2a827cc6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding4/doc.json @@ -0,0 +1,251 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 200, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 200, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": " uses", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "linepadding", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html new file mode 100644 index 00000000..bf06265f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This subtitle + + + uses + +
+ +linepadding + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html b/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/isd/0.000000.json b/src/test/resources/reference-files/imsc1/linePadding4/isd/0.000000.json new file mode 100644 index 00000000..1ead552e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding4/isd/0.000000.json @@ -0,0 +1,295 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style linePadding": { + "rw": 0.01, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " uses", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "linepadding", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/isd/10.000000.json b/src/test/resources/reference-files/imsc1/linePadding4/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linePadding4/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/doc.json b/src/test/resources/reference-files/imsc1/lineheight-001/doc.json new file mode 100644 index 00000000..4bba5f28 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/lineheight-001/doc.json @@ -0,0 +1,220 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 125, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "A subtitles with a lineheight of 125%.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 125, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "The subtitle has two lines.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html new file mode 100644 index 00000000..9d55b996 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +A subtitles with a lineheight of 125%. + +
+ +The subtitle has two lines. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/lineheight-001/isd/0.000000.json new file mode 100644 index 00000000..0c591527 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/lineheight-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "A subtitles with a lineheight of 125%.", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The subtitle has two lines.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/lineheight-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/lineheight-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/doc.json b/src/test/resources/reference-files/imsc1/linepadding-001/doc.json new file mode 100644 index 00000000..c1efb350 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linepadding-001/doc.json @@ -0,0 +1,215 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style linePadding": { + "value": 0.5, + "unit": "c" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle uses", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "linepadding", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html new file mode 100644 index 00000000..06481310 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +This subtitle uses + +
+ +linepadding + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/linepadding-001/isd/0.000000.json new file mode 100644 index 00000000..4f782dc2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linepadding-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style linePadding": { + "rw": 0.01, + "rh": 0 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle uses", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "linepadding", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/linepadding-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/linepadding-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/doc.json b/src/test/resources/reference-files/imsc1/multiRowAlign1/doc.json new file mode 100644 index 00000000..5743dea2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/doc.json @@ -0,0 +1,235 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 15, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 70, + "unit": "%" + }, + "w": { + "value": 15, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 70, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\nmultiRowAlign=\"end\"", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "textAlign=\"start\"\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\nmultiRowAlign=\"start\"", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "textAlign=\"center\"\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html new file mode 100644 index 00000000..e60c77ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html new file mode 100644 index 00000000..7a6ebfea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html @@ -0,0 +1,36 @@ +
+
+
+
+

+ + +multiRowAlign="end" + +
+ +textAlign="start" + +
+

+
+
+
+
+
+
+

+ + +multiRowAlign="start" + +
+ +textAlign="center" + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html new file mode 100644 index 00000000..e60c77ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/0.000000.json new file mode 100644 index 00000000..90f84b76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/0.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/1.000000.json new file mode 100644 index 00000000..8b20c368 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/1.000000.json @@ -0,0 +1,488 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "multiRowAlign=\"end\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "textAlign=\"start\" ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "multiRowAlign=\"start\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "textAlign=\"center\" ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/9.000000.json new file mode 100644 index 00000000..90f84b76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multiRowAlign1/isd/9.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.7 + }, + "w": { + "rw": 0.15, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.7, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/doc.json new file mode 100644 index 00000000..2b785587 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "auto" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "textAlign is center", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "and multirowAlign is auto", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html new file mode 100644 index 00000000..e044e3a2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +textAlign is center + +
+ +and multirowAlign is auto + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/0.000000.json new file mode 100644 index 00000000..8866f733 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "textAlign is center", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "and multirowAlign is auto", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/doc.json new file mode 100644 index 00000000..4a5b09ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "Center Center", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html new file mode 100644 index 00000000..40883d64 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +Center Center + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/0.000000.json new file mode 100644 index 00000000..c9ae77c4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Center Center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/doc.json new file mode 100644 index 00000000..da968583 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "Center End", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html new file mode 100644 index 00000000..ff14f1ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +Center End + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/0.000000.json new file mode 100644 index 00000000..99d81145 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Center End", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/doc.json new file mode 100644 index 00000000..5b6d4676 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "Center Start", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html new file mode 100644 index 00000000..7b75d40a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +Center Start + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/0.000000.json new file mode 100644 index 00000000..cc822186 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "urn:ebu:tt:style multiRowAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Center Start", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/doc.json new file mode 100644 index 00000000..8352008e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "urn:ebu:tt:style multiRowAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "End Center", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html new file mode 100644 index 00000000..7e5d80fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +End Center + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/0.000000.json new file mode 100644 index 00000000..fd902be3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "urn:ebu:tt:style multiRowAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "End Center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/doc.json new file mode 100644 index 00000000..49be278f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "urn:ebu:tt:style multiRowAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "End Start", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html new file mode 100644 index 00000000..b8fa3f2c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +End Start + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/0.000000.json new file mode 100644 index 00000000..71391e02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "urn:ebu:tt:style multiRowAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "End Start", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/doc.json new file mode 100644 index 00000000..ad02bc77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "Start Center", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html new file mode 100644 index 00000000..14931137 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +Start Center + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/0.000000.json new file mode 100644 index 00000000..17ec79a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Start Center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/doc.json b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/doc.json new file mode 100644 index 00000000..dbf06758 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "This subtitle's multiRowAlign is", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "Start End", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html new file mode 100644 index 00000000..655b0816 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +This subtitle's multiRowAlign is + +
+ +Start End + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/0.000000.json new file mode 100644 index 00000000..6c22961a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "urn:ebu:tt:style multiRowAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This subtitle's multiRowAlign is", + "space": "default" + }, + { + "kind": "br", + "lang": "de", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Start End", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/doc.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/doc.json new file mode 100644 index 00000000..37d10f75 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/doc.json @@ -0,0 +1,453 @@ +{ + "events": [ + 0, + 2, + 4, + 6, + 10, + 12, + 14, + 16 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "startBefore": { + "id": "startBefore", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "endBefore": { + "id": "endBefore", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "startAfter": { + "id": "startAfter", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "endAfter": { + "id": "endAfter", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "startBefore", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "start/before", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "endBefore", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "end/before", + "begin": 2, + "end": 12 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "startAfter", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "start/after", + "begin": 4, + "end": 14 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "endAfter", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "end/after", + "begin": 6, + "end": 16 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\t\t\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html new file mode 100644 index 00000000..15782504 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +start/before + +

+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html new file mode 100644 index 00000000..2f4212f5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html @@ -0,0 +1,37 @@ +
+
+
+
+
+
+

+ +end/before + +

+
+
+
+
+
+
+

+ +start/after + +

+
+
+
+
+
+
+

+ +end/after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html new file mode 100644 index 00000000..1ae5feff --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+
+
+
+
+

+ +start/after + +

+
+
+
+
+
+
+

+ +end/after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html new file mode 100644 index 00000000..ae124215 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+
+
+
+
+
+
+

+ +end/after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html new file mode 100644 index 00000000..5479199b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html @@ -0,0 +1,10 @@ +
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html new file mode 100644 index 00000000..d81337e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html @@ -0,0 +1,28 @@ +
+
+
+
+

+ +start/before + +

+
+
+
+
+
+
+

+ +end/before + +

+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html new file mode 100644 index 00000000..8e699ca7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html @@ -0,0 +1,37 @@ +
+
+
+
+

+ +start/before + +

+
+
+
+
+
+
+

+ +end/before + +

+
+
+
+
+
+
+

+ +start/after + +

+
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html new file mode 100644 index 00000000..00d6d5dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html @@ -0,0 +1,46 @@ +
+
+
+
+

+ +start/before + +

+
+
+
+
+
+
+

+ +end/before + +

+
+
+
+
+
+
+

+ +start/after + +

+
+
+
+
+
+
+

+ +end/after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/0.000000.json new file mode 100644 index 00000000..2b2ad3b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/0.000000.json @@ -0,0 +1,374 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/10.000000.json new file mode 100644 index 00000000..a5e7e0d9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/10.000000.json @@ -0,0 +1,622 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/12.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/12.000000.json new file mode 100644 index 00000000..4ac948f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/12.000000.json @@ -0,0 +1,498 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/14.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/14.000000.json new file mode 100644 index 00000000..8c6e4950 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/14.000000.json @@ -0,0 +1,374 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/16.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/16.000000.json new file mode 100644 index 00000000..abed84b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/16.000000.json @@ -0,0 +1,250 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/2.000000.json new file mode 100644 index 00000000..e4c8c2c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/2.000000.json @@ -0,0 +1,498 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/4.000000.json new file mode 100644 index 00000000..07fc0fd1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/4.000000.json @@ -0,0 +1,622 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/6.000000.json b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/6.000000.json new file mode 100644 index 00000000..0f9c0a2c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/isd/6.000000.json @@ -0,0 +1,746 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "startBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endBefore", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "startAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "start/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "endAfter", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "end/after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/nested-region-001/doc.json b/src/test/resources/reference-files/imsc1/nested-region-001/doc.json new file mode 100644 index 00000000..893aba22 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/nested-region-001/doc.json @@ -0,0 +1,215 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 16.7, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 66.7, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 16.7, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 66.7, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should not appear\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "space": "default", + "lang": "en", + "text": "Bottom Region", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "space": "default", + "lang": "en", + "text": "Top Region", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.016666666666666666, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html new file mode 100644 index 00000000..b1794eca --- /dev/null +++ b/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html @@ -0,0 +1,24 @@ +
+
+
+
+

+ +Bottom Region + +

+
+
+
+
+
+
+

+ +Top Region + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/nested-region-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/nested-region-001/isd/0.000000.json new file mode 100644 index 00000000..1da596c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/nested-region-001/isd/0.000000.json @@ -0,0 +1,376 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.16699999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.667, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Bottom Region", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.16699999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.667, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Top Region", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/doc.json b/src/test/resources/reference-files/imsc1/overflow-hidden-001/doc.json new file mode 100644 index 00000000..4f802797 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-hidden-001/doc.json @@ -0,0 +1,164 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Overflow is hidden. One long long long long long long Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html new file mode 100644 index 00000000..9cb96031 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Overflow is hidden. One long long long long long long Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/0.000000.json new file mode 100644 index 00000000..26700551 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Overflow is hidden. One long long long long long long Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-hidden-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/doc.json b/src/test/resources/reference-files/imsc1/overflow-visible-001/doc.json new file mode 100644 index 00000000..fcb5bee9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-visible-001/doc.json @@ -0,0 +1,164 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "visible" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Overflow is visible. One long long long long long long Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html new file mode 100644 index 00000000..f9828689 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Overflow is visible. One long long long long long long Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/0.000000.json new file mode 100644 index 00000000..4042d921 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "visible", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Overflow is visible. One long long long long long long Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/overflow-visible-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/doc.json b/src/test/resources/reference-files/imsc1/padding-four-values-001/doc.json new file mode 100644 index 00000000..56df42e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-four-values-001/doc.json @@ -0,0 +1,180 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "center": { + "id": "center", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 60, + "unit": "%" + }, + { + "value": 0, + "unit": "%" + }, + { + "value": 20, + "unit": "%" + }, + { + "value": 5, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "center", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Region padding, four values.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html new file mode 100644 index 00000000..9b1b1ccf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Region padding, four values. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html new file mode 100644 index 00000000..5a9372e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/0.000000.json new file mode 100644 index 00000000..f6434d5c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.06 + }, + { + "rw": 0.04, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Region padding, four values.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/10.000000.json new file mode 100644 index 00000000..ee48fc2a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-four-values-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.06 + }, + { + "rw": 0.04, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/doc.json b/src/test/resources/reference-files/imsc1/padding-one-value-001/doc.json new file mode 100644 index 00000000..43562fbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-one-value-001/doc.json @@ -0,0 +1,168 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "center": { + "id": "center", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 25, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 20, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "center", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Region padding, one value.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html new file mode 100644 index 00000000..b20b3129 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +Region padding, +one value. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html new file mode 100644 index 00000000..ae1c217e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/0.000000.json new file mode 100644 index 00000000..fa7b8b8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.1, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.1, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Region padding, one value.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/10.000000.json new file mode 100644 index 00000000..db8bd793 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-one-value-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.1, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.1, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/doc.json b/src/test/resources/reference-files/imsc1/padding-three-values-001/doc.json new file mode 100644 index 00000000..904b5583 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-three-values-001/doc.json @@ -0,0 +1,176 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "after": { + "id": "after", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 25, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 40, + "unit": "%" + }, + { + "value": 10, + "unit": "%" + }, + { + "value": 0, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "after", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Region padding, three values.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html new file mode 100644 index 00000000..74c04609 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +Region padding, three +values. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html new file mode 100644 index 00000000..8fc23102 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/0.000000.json new file mode 100644 index 00000000..c22b5148 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "after", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.04 + }, + { + "rw": 0.06, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.06, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Region padding, three values.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/10.000000.json new file mode 100644 index 00000000..83e140cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-three-values-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "after", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.04 + }, + { + "rw": 0.06, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.06, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/doc.json b/src/test/resources/reference-files/imsc1/padding-two-values-001/doc.json new file mode 100644 index 00000000..c87a77fe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-two-values-001/doc.json @@ -0,0 +1,172 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "center": { + "id": "center", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 25, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 50, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 20, + "unit": "%" + }, + { + "value": 40, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "center", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Region padding, two values.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html new file mode 100644 index 00000000..a2e31d0b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +Region +padding, +two +values. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html new file mode 100644 index 00000000..4d457a50 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/0.000000.json new file mode 100644 index 00000000..0fbab4e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.2, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Region padding, two values.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/10.000000.json new file mode 100644 index 00000000..536423dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/padding-two-values-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "center", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.02 + }, + { + "rw": 0.2, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/doc.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/doc.json new file mode 100644 index 00000000..c4872a8f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/doc.json @@ -0,0 +1,204 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "One.", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Two.", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Three.", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Over.", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + } + ], + "lang": "en", + "begin": 0, + "end": 5 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html new file mode 100644 index 00000000..9a8b0855 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html new file mode 100644 index 00000000..58b19ad0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html new file mode 100644 index 00000000..7840960f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Two. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html new file mode 100644 index 00000000..853c2734 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Three. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html new file mode 100644 index 00000000..1d2fdd25 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Over. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html new file mode 100644 index 00000000..9a8b0855 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/0.000000.json new file mode 100644 index 00000000..8cc9dec1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/1.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/1.000000.json new file mode 100644 index 00000000..72e975db --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/2.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/2.000000.json new file mode 100644 index 00000000..b66db8ae --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/2.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Two.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/3.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/3.000000.json new file mode 100644 index 00000000..41048e3e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/3.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Three.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/4.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/4.000000.json new file mode 100644 index 00000000..83114722 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/4.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Over.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/5.000000.json b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/5.000000.json new file mode 100644 index 00000000..8cc9dec1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/isd/5.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/doc.json b/src/test/resources/reference-files/imsc1/referenceFonts1/doc.json new file mode 100644 index 00000000..75cfdbd0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/referenceFonts1/doc.json @@ -0,0 +1,219 @@ +{ + "events": [ + 0, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 8.3, + "unit": "%" + }, + "w": { + "value": 12.5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 33.3, + "unit": "%" + }, + "w": { + "value": 75, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 75, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "area2": { + "id": "area2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 58.3, + "unit": "%" + }, + "w": { + "value": 12.5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 33.3, + "unit": "%" + }, + "w": { + "value": 75, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 75, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae tincidunt lacus. Pellentesque quis lorem est. Curabitur a lectus ut diam aliquam volutpat ut id ante. Vestibulum ac congue massa, in ornare velit.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae tincidunt lacus. Pellentesque quis lorem est. Curabitur a lectus ut diam aliquam volutpat ut id ant.", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.3333333333333333, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html b/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html new file mode 100644 index 00000000..1da374da --- /dev/null +++ b/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html @@ -0,0 +1,33 @@ +
+
+
+
+

+ +Lorem ipsum dolor sit amet, consectetur +adipiscing elit. Sed vitae tincidunt lacus. +Pellentesque quis lorem est. Curabitur a +lectus ut diam aliquam volutpat ut id ante. +Vestibulum ac congue massa, in ornare velit. + +

+
+
+
+
+
+
+

+ +Lorem ipsum dolor sit amet, +consectetur adipiscing elit. Sed +vitae tincidunt lacus. +Pellentesque quis lorem est. +Curabitur a lectus ut diam +aliquam volutpat ut id ant. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html b/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html new file mode 100644 index 00000000..bb3b4790 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/isd/0.000000.json b/src/test/resources/reference-files/imsc1/referenceFonts1/isd/0.000000.json new file mode 100644 index 00000000..aa074be0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/referenceFonts1/isd/0.000000.json @@ -0,0 +1,382 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.083 + }, + "w": { + "rw": 0.125, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.33299999999999996 + }, + "w": { + "rw": 0.75, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "proportionalSansSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae tincidunt lacus. Pellentesque quis lorem est. Curabitur a lectus ut diam aliquam volutpat ut id ante. Vestibulum ac congue massa, in ornare velit.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.583 + }, + "w": { + "rw": 0.125, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.33299999999999996 + }, + "w": { + "rw": 0.75, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae tincidunt lacus. Pellentesque quis lorem est. Curabitur a lectus ut diam aliquam volutpat ut id ant.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/isd/9.000000.json b/src/test/resources/reference-files/imsc1/referenceFonts1/isd/9.000000.json new file mode 100644 index 00000000..176c9891 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/referenceFonts1/isd/9.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.083 + }, + "w": { + "rw": 0.125, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.33299999999999996 + }, + "w": { + "rw": 0.75, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "area2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.583 + }, + "w": { + "rw": 0.125, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.33299999999999996 + }, + "w": { + "rw": 0.75, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/doc.json b/src/test/resources/reference-files/imsc1/region-timing/doc.json new file mode 100644 index 00000000..06bc8cb8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/doc.json @@ -0,0 +1,279 @@ +{ + "events": [ + 0, + 5, + 10, + 12, + 15, + 16, + 18, + 20, + 25 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": 10 + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 25, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 10, + "end": 20 + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should only appear during the interval [0s,10s)", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should only appear during the interval [10s,15s)", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should only appear during the interval [12s,18s)", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 18 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should only appear during the interval [10s,20s)", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This text should only appear during the interval [16s,20s)", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": 25 + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.016666666666666666, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html new file mode 100644 index 00000000..b1293bea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should only appear during the +interval [0s,10s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html new file mode 100644 index 00000000..9eb3f2d5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This text should only appear during the +interval [10s,15s) + +

+

+ +This text should only appear during the +interval [10s,20s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html new file mode 100644 index 00000000..ce9b5e41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html @@ -0,0 +1,26 @@ +
+
+
+
+

+ +This text should only appear during the +interval [10s,15s) + +

+

+ +This text should only appear during the +interval [12s,18s) + +

+

+ +This text should only appear during the +interval [10s,20s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html new file mode 100644 index 00000000..7fc2bafe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This text should only appear during the +interval [12s,18s) + +

+

+ +This text should only appear during the +interval [10s,20s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html new file mode 100644 index 00000000..fa06227e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html @@ -0,0 +1,26 @@ +
+
+
+
+

+ +This text should only appear during the +interval [12s,18s) + +

+

+ +This text should only appear during the +interval [10s,20s) + +

+

+ +This text should only appear during the +interval [16s,20s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html new file mode 100644 index 00000000..e63eb32d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This text should only appear during the +interval [10s,20s) + +

+

+ +This text should only appear during the +interval [16s,20s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html new file mode 100644 index 00000000..b1293bea --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +This text should only appear during the +interval [0s,10s) + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/0.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/0.000000.json new file mode 100644 index 00000000..84513af4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [0s,10s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/10.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/10.000000.json new file mode 100644 index 00000000..66c68c8f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/10.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,15s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,20s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/12.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/12.000000.json new file mode 100644 index 00000000..55b987b7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/12.000000.json @@ -0,0 +1,369 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,15s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [12s,18s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,20s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/15.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/15.000000.json new file mode 100644 index 00000000..727871b8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/15.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [12s,18s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,20s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/16.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/16.000000.json new file mode 100644 index 00000000..84320e1c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/16.000000.json @@ -0,0 +1,369 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [12s,18s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,20s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [16s,20s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/18.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/18.000000.json new file mode 100644 index 00000000..056913d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/18.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [10s,20s)", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [16s,20s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/20.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/20.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/20.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/25.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/25.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/25.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/isd/5.000000.json b/src/test/resources/reference-files/imsc1/region-timing/isd/5.000000.json new file mode 100644 index 00000000..84513af4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/region-timing/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 255, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text should only appear during the interval [0s,10s)", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/doc.json b/src/test/resources/reference-files/imsc1/space-preserve-001/doc.json new file mode 100644 index 00000000..475e8b1e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/space-preserve-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "en", + "text": "Two- \nline Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "preserve", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html new file mode 100644 index 00000000..cfb1d302 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html @@ -0,0 +1,21 @@ +
+
+
+
+

+ + + + +Two- + +line Subtitle. + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/space-preserve-001/isd/0.000000.json new file mode 100644 index 00000000..52f56630 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/space-preserve-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Two- \nline Subtitle.", + "space": "preserve" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "preserve" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/space-preserve-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/space-preserve-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/doc.json b/src/test/resources/reference-files/imsc1/special-character-001/doc.json new file mode 100644 index 00000000..98c83525 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/special-character-001/doc.json @@ -0,0 +1,189 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Ç ü é â ä à å ç ê ë è ï î ì Ä Å æ Æ ô ö ò", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "û ù ÿ Ö Ü ø £ Ø × ƒ á í ó ú ñ Ñ ª º ¿ ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html new file mode 100644 index 00000000..af78c731 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ + +Ç ü é â ä à å ç ê ë è ï î ì Ä Å æ Æ ô ö ò + +
+ +û ù ÿ Ö Ü ø £ Ø × ƒ á í ó ú ñ Ñ ª º ¿ + +
+

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/special-character-001/isd/0.000000.json new file mode 100644 index 00000000..09708e7c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/special-character-001/isd/0.000000.json @@ -0,0 +1,293 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Ç ü é â ä à å ç ê ë è ï î ì Ä Å æ Æ ô ö ò", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "û ù ÿ Ö Ü ø £ Ø × ƒ á í ó ú ñ Ñ ª º ¿ ", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/special-character-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/special-character-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/doc.json b/src/test/resources/reference-files/imsc1/styleInheritance-001/doc.json new file mode 100644 index 00000000..4bd22f11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/styleInheritance-001/doc.json @@ -0,0 +1,164 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 10, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Inherited styles", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html new file mode 100644 index 00000000..a257d7a3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Inherited styles + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/0.000000.json new file mode 100644 index 00000000..e111df54 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Inherited styles", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/styleInheritance-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/doc.json b/src/test/resources/reference-files/imsc1/text-decoration-none-001/doc.json new file mode 100644 index 00000000..a8b5a67a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/text-decoration-none-001/doc.json @@ -0,0 +1,235 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "line ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html new file mode 100644 index 00000000..9cca6d50 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +One + + +line + + +Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/0.000000.json new file mode 100644 index 00000000..6f237d71 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "line ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/text-decoration-none-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/doc.json b/src/test/resources/reference-files/imsc1/textalign-center-001/doc.json new file mode 100644 index 00000000..8182db11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-center-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html new file mode 100644 index 00000000..06f3b7e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/textalign-center-001/isd/0.000000.json new file mode 100644 index 00000000..9223ce94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-center-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/textalign-center-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-center-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/doc.json b/src/test/resources/reference-files/imsc1/textalign-end-001/doc.json new file mode 100644 index 00000000..54abfd9c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-end-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html new file mode 100644 index 00000000..2204d4ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/textalign-end-001/isd/0.000000.json new file mode 100644 index 00000000..1225021f --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-end-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/textalign-end-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-end-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/doc.json b/src/test/resources/reference-files/imsc1/textalign-left-001/doc.json new file mode 100644 index 00000000..cfc437f9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-left-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html new file mode 100644 index 00000000..de50fbbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/textalign-left-001/isd/0.000000.json new file mode 100644 index 00000000..e9fd99ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-left-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/textalign-left-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-left-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/doc.json b/src/test/resources/reference-files/imsc1/textalign-right-001/doc.json new file mode 100644 index 00000000..b141fd70 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-right-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "right" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html new file mode 100644 index 00000000..e7aec8ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/textalign-right-001/isd/0.000000.json new file mode 100644 index 00000000..ac91a6f1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-right-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "end", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/textalign-right-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-right-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/doc.json b/src/test/resources/reference-files/imsc1/textalign-start-001/doc.json new file mode 100644 index 00000000..71986554 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-start-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "One line Subtitle.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html new file mode 100644 index 00000000..d249dad1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/textalign-start-001/isd/0.000000.json new file mode 100644 index 00000000..655ad373 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-start-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/textalign-start-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/textalign-start-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/doc.json b/src/test/resources/reference-files/imsc1/timing-on-span-001/doc.json new file mode 100644 index 00000000..e8bf4422 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-001/doc.json @@ -0,0 +1,162 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html new file mode 100644 index 00000000..06f3b7e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html new file mode 100644 index 00000000..1328b870 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/0.000000.json new file mode 100644 index 00000000..9223ce94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/10.000000.json new file mode 100644 index 00000000..9afbe130 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-001/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/doc.json b/src/test/resources/reference-files/imsc1/timing-on-span-002/doc.json new file mode 100644 index 00000000..a3138d7a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/doc.json @@ -0,0 +1,204 @@ +{ + "events": [ + 0, + 4, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 0, + "end": 4 + }, + { + "kind": "span", + "timeContainer": "par", + "text": " ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "One line Subtitle.", + "begin": 4, + "end": 10 + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\t\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html new file mode 100644 index 00000000..06f3b7e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html new file mode 100644 index 00000000..1328b870 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html new file mode 100644 index 00000000..06f3b7e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +One line Subtitle. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/0.000000.json b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/0.000000.json new file mode 100644 index 00000000..9223ce94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/10.000000.json b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/10.000000.json new file mode 100644 index 00000000..9afbe130 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/10.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/4.000000.json b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/4.000000.json new file mode 100644 index 00000000..9223ce94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/timing-on-span-002/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "One line Subtitle.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/doc.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/doc.json new file mode 100644 index 00000000..ae91a6c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/doc.json @@ -0,0 +1,229 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "bahrain ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "مصر 2015", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": " kuwait", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " \n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html new file mode 100644 index 00000000..5ece08a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +bahrain + + +مصر 2015 + + + kuwait + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/0.000000.json new file mode 100644 index 00000000..5f8ec30c --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bahrain ", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "مصر 2015", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " kuwait", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/doc.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/doc.json new file mode 100644 index 00000000..8b0523f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/doc.json @@ -0,0 +1,165 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\tThe title of the book is \"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ar", + "text": "نشاط التدويل، W3C", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\"\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html new file mode 100644 index 00000000..dbc0d954 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +The title of the book is " + + +نشاط التدويل، W3C + + +" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/0.000000.json new file mode 100644 index 00000000..40be6265 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "The title of the book is \"", + "space": "default" + }, + { + "kind": "span", + "lang": "ar", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "embed", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "نشاط التدويل، W3C", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/doc.json b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/doc.json new file mode 100644 index 00000000..c7b78265 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/doc.json @@ -0,0 +1,165 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\tInline direction LTR and ", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "LTR", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": " inside. \n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + } + ], + "lang": "de", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html new file mode 100644 index 00000000..e1c75515 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html @@ -0,0 +1,19 @@ +
+
+
+
+

+ +Inline direction LTR and + + +LTR + + + inside. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/0.000000.json new file mode 100644 index 00000000..c58b5856 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/0.000000.json @@ -0,0 +1,287 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Inline direction LTR and ", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "bidiOverride", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none" + }, + "text": "LTR", + "space": "default" + }, + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " inside.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/10.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/doc.json b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/doc.json new file mode 100644 index 00000000..f767443a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/doc.json @@ -0,0 +1,107 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n Hello, I am Mork from Ork 😀\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html new file mode 100644 index 00000000..72004d98 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Hello, I am Mork from Ork 😀 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/isd/0.000000.json b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/isd/0.000000.json new file mode 100644 index 00000000..be5db446 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/isd/0.000000.json @@ -0,0 +1,190 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Hello, I am Mork from Ork 😀", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/doc.json b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/doc.json new file mode 100644 index 00000000..bc9eb174 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/doc.json @@ -0,0 +1,164 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "hidden" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "If a line overflows the extent of the region automated line wrapping shall not apply.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html new file mode 100644 index 00000000..c0773022 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +If a line overflows the extent of the region automated line wrapping shall not apply. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/0.000000.json new file mode 100644 index 00000000..02e7c54b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "noWrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "If a line overflows the extent of the region automated line wrapping shall not apply.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/doc.json b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/doc.json new file mode 100644 index 00000000..707dc69e --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/doc.json @@ -0,0 +1,163 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap" + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "If a line overflows the extent of the region automated line wrapping shall apply.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html new file mode 100644 index 00000000..e9980992 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +If a line overflows the extent of the region +automated line wrapping shall apply. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/0.000000.json new file mode 100644 index 00000000..5dc6134a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "If a line overflows the extent of the region automated line wrapping shall apply.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/doc.json new file mode 100644 index 00000000..89f97180 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lr" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "first line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "second line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html new file mode 100644 index 00000000..1944f92d --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +first line + +
+ +second line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/0.000000.json new file mode 100644 index 00000000..42797bb4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lr", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "second line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/doc.json new file mode 100644 index 00000000..c4797616 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/doc.json @@ -0,0 +1,163 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "bahrain مصر kuwait", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html new file mode 100644 index 00000000..29dd79dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bahrain مصر kuwait + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/0.000000.json new file mode 100644 index 00000000..ad40629a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bahrain مصر kuwait", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/doc.json new file mode 100644 index 00000000..e0bc006b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "rl" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "first line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "second line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html new file mode 100644 index 00000000..dbab5d9b --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+ +first line + +
+ +second line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/0.000000.json new file mode 100644 index 00000000..86f780d6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "rl", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "second line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/doc.json new file mode 100644 index 00000000..a5fb62a8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/doc.json @@ -0,0 +1,163 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "bahrain مصر kuwait", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html new file mode 100644 index 00000000..c5393ee5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bahrain مصر kuwait + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/0.000000.json new file mode 100644 index 00000000..59687de2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bahrain مصر kuwait", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/10.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/10.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/isd/10.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/doc.json new file mode 100644 index 00000000..6f030384 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/doc.json @@ -0,0 +1,228 @@ +{ + "events": [ + 0, + 2, + 4 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "right": { + "id": "right", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "first line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "second line", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 2, + "end": 4 + } + ], + "lang": "de", + "begin": 0, + "end": 4 + } + ], + "lang": "de", + "begin": 0, + "end": 4 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html new file mode 100644 index 00000000..74f751fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +first line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html new file mode 100644 index 00000000..0eea2f95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +first line + +

+

+ +second line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/0.000000.json new file mode 100644 index 00000000..82705270 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/2.000000.json new file mode 100644 index 00000000..531e39fe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/2.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tb", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "second line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/4.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/isd/4.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/doc.json b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/doc.json new file mode 100644 index 00000000..bc5ababe --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/doc.json @@ -0,0 +1,228 @@ +{ + "events": [ + 0, + 2, + 4 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "right": { + "id": "right", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "de", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "first line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 0, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start" + }, + "timeContainer": "par", + "sets": [], + "regionID": "right", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 160, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "de", + "text": "second line", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n\t\t\t", + "space": "default", + "lang": "de", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "de", + "begin": 2, + "end": 4 + } + ], + "lang": "de", + "begin": 0, + "end": 4 + } + ], + "lang": "de", + "begin": 0, + "end": 4 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "w": { + "rw": 0.02, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html new file mode 100644 index 00000000..74f751fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +first line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html new file mode 100644 index 00000000..0eea2f95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +first line + +

+

+ +second line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/0.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/0.000000.json new file mode 100644 index 00000000..d9df2eb9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/2.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/2.000000.json new file mode 100644 index 00000000..901d2664 --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/2.000000.json @@ -0,0 +1,280 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "de", + "id": "right", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "first line", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "de", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "second line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/4.000000.json b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/4.000000.json new file mode 100644 index 00000000..3dafe1fd --- /dev/null +++ b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/isd/4.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "de" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/doc.json b/src/test/resources/reference-files/imsc1_1/disparity001-left/doc.json new file mode 100644 index 00000000..679b7c05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-left/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 20, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n Disparity of 2%\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html new file mode 100644 index 00000000..acfa4243 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Disparity of 2% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html new file mode 100644 index 00000000..87decb5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/0.000000.json new file mode 100644 index 00000000..15c4f05a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6399999999999999 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Disparity of 2%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/1.000000.json new file mode 100644 index 00000000..8f355e76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-left/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6399999999999999 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/doc.json b/src/test/resources/reference-files/imsc1_1/disparity001-right/doc.json new file mode 100644 index 00000000..679b7c05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-right/doc.json @@ -0,0 +1,138 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 20, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n Disparity of 2%\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html new file mode 100644 index 00000000..acfa4243 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Disparity of 2% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html new file mode 100644 index 00000000..87decb5d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/0.000000.json new file mode 100644 index 00000000..15c4f05a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6399999999999999 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Disparity of 2%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/1.000000.json new file mode 100644 index 00000000..8f355e76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/disparity001-right/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6399999999999999 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/doc.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/doc.json new file mode 100644 index 00000000..0a0ad940 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region should have (a) an aspect ratio of 4:3, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.3333333333333333, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html new file mode 100644 index 00000000..989df7df --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html new file mode 100644 index 00000000..1e254667 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +This region should have (a) an +aspect ratio of 4:3, (b) be +centered within the related video +object and (c) be entirely within +the related video object frame, +and (d) have a height or width +equal to that of the related +video object frame. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html new file mode 100644 index 00000000..989df7df --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/0.000000.json new file mode 100644 index 00000000..3422d8ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/1.000000.json new file mode 100644 index 00000000..1b2b0675 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region should have (a) an aspect ratio of 4:3, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/9.000000.json new file mode 100644 index 00000000..3422d8ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/isd/9.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/doc.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/doc.json new file mode 100644 index 00000000..d568a69c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/doc.json @@ -0,0 +1,137 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 0, + "unit": "%" + }, + "w": { + "value": 0, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 100, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "This region should have (a) an aspect ratio of 16:9, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.\n\t\t\t", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html new file mode 100644 index 00000000..7f0dd2e6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ +This region should have (a) an aspect ratio +of 16:9, (b) be centered within the related +video object and (c) be entirely within the +related video object frame, and (d) have a +height or width equal to that of the related +video object frame. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html new file mode 100644 index 00000000..f88aefc7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/0.000000.json new file mode 100644 index 00000000..41b28966 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/0.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/1.000000.json new file mode 100644 index 00000000..4ad18173 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/1.000000.json @@ -0,0 +1,194 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This region should have (a) an aspect ratio of 16:9, (b) be centered within the related video object and (c) be entirely within the related video object frame, and (d) have a height or width equal to that of the related video object frame.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/9.000000.json new file mode 100644 index 00000000..41b28966 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/isd/9.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/doc.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/doc.json new file mode 100644 index 00000000..8cc1d1c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "displayAspectRatio003-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.3333333333333333, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.008333333333333333 + }, + "w": { + "rw": 0.00625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html new file mode 100644 index 00000000..15c2ad77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html new file mode 100644 index 00000000..f7361bc1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html new file mode 100644 index 00000000..15c2ad77 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/0.000000.json new file mode 100644 index 00000000..e4e6be2d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/1.000000.json new file mode 100644 index 00000000..8ad53783 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "displayAspectRatio003-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/9.000000.json new file mode 100644 index 00000000..e4e6be2d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.3333333333333333, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/doc.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/doc.json new file mode 100644 index 00000000..eb748e61 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/doc.json @@ -0,0 +1,100 @@ +{ + "events": [ + 0, + 1, + 9 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 90, + "unit": "px" + }, + "w": { + "value": 160, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "displayAspectRatio004-img.png", + "begin": 1, + "end": null + } + ], + "lang": "en", + "begin": 1, + "end": 9 + } + ], + "lang": "en", + "begin": 0, + "end": 9 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.011111111111111112 + }, + "w": { + "rw": 0.00625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html new file mode 100644 index 00000000..462cbab0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/0.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/0.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/1.000000.json new file mode 100644 index 00000000..e657f716 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/1.000000.json @@ -0,0 +1,107 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "styleAttrs": {}, + "src": "displayAspectRatio004-img.png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/9.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/isd/9.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/file-list.json b/src/test/resources/reference-files/imsc1_1/file-list.json new file mode 100644 index 00000000..4794b798 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/file-list.json @@ -0,0 +1,388 @@ +{ + "position001": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "21.000000", + "22.000000", + "23.000000", + "24.000000", + "25.000000", + "26.000000", + "27.000000", + "28.000000", + "29.000000", + "30.000000", + "31.000000", + "32.000000", + "33.000000", + "34.000000", + "35.000000", + "36.000000", + "37.000000", + "38.000000", + "39.000000", + "40.000000", + "41.000000", + "42.000000", + "43.000000", + "44.000000", + "45.000000", + "46.000000", + "47.000000", + "48.000000", + "49.000000", + "50.000000", + "51.000000", + "52.000000", + "53.000000", + "54.000000", + "55.000000", + "56.000000", + "57.000000", + "58.000000", + "59.000000", + "60.000000", + "61.000000", + "62.000000" + ], + "position002": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "21.000000", + "22.000000", + "23.000000", + "24.000000", + "25.000000", + "26.000000", + "27.000000", + "28.000000", + "29.000000", + "30.000000", + "31.000000", + "32.000000", + "33.000000", + "34.000000", + "35.000000", + "36.000000", + "37.000000", + "38.000000", + "39.000000", + "40.000000", + "41.000000", + "42.000000", + "43.000000", + "44.000000", + "45.000000", + "46.000000", + "47.000000", + "48.000000", + "49.000000", + "50.000000", + "51.000000", + "52.000000", + "53.000000", + "54.000000", + "55.000000", + "56.000000", + "57.000000", + "58.000000", + "59.000000", + "60.000000", + "61.000000", + "62.000000" + ], + "position003": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000", + "9.000000", + "10.000000", + "11.000000", + "12.000000", + "13.000000", + "14.000000", + "15.000000", + "16.000000", + "17.000000", + "18.000000", + "19.000000", + "20.000000", + "21.000000", + "22.000000", + "23.000000", + "24.000000", + "25.000000", + "26.000000", + "27.000000", + "28.000000", + "29.000000", + "30.000000", + "31.000000", + "32.000000", + "33.000000", + "34.000000", + "35.000000", + "36.000000", + "37.000000", + "38.000000", + "39.000000", + "40.000000", + "41.000000", + "42.000000", + "43.000000", + "44.000000", + "45.000000", + "46.000000", + "47.000000", + "48.000000", + "49.000000", + "50.000000", + "51.000000", + "52.000000", + "53.000000", + "54.000000", + "55.000000", + "56.000000", + "57.000000", + "58.000000", + "59.000000", + "60.000000", + "61.000000", + "62.000000" + ], + "textCombine001": [ + "0.000000", + "1.000000" + ], + "textCombine002": [ + "0.000000", + "1.000000" + ], + "textShadow001": [ + "0.000000" + ], + "displayAspectRatio001": [ + "0.000000", + "1.000000", + "9.000000" + ], + "displayAspectRatio002": [ + "0.000000", + "1.000000", + "9.000000" + ], + "displayAspectRatio003": [ + "0.000000", + "1.000000", + "9.000000" + ], + "displayAspectRatio004": [ + "0.000000", + "1.000000", + "9.000000" + ], + "shear001": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000" + ], + "shear002": [ + "0.000000", + "1.000000" + ], + "shear003": [ + "0.000000", + "1.000000" + ], + "ruby001": [ + "0.000000", + "1.000000" + ], + "ruby002": [ + "0.000000", + "1.000000" + ], + "ruby003": [ + "0.000000", + "1.000000" + ], + "ruby004": [ + "0.000000", + "1.000000" + ], + "ruby005": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000" + ], + "ruby006": [ + "0.000000", + "1.000000" + ], + "rubyAlign001": [ + "0.000000", + "1.000000" + ], + "rubyAlign002": [ + "0.000000", + "1.000000" + ], + "rubyAlign003": [ + "0.000000", + "1.000000" + ], + "rubyAlign004": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000" + ], + "textEmphasis001": [ + "0.000000", + "1.000000" + ], + "textEmphasis002": [ + "0.000000", + "1.000000" + ], + "textEmphasis003": [ + "0.000000", + "1.000000" + ], + "textEmphasis004": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000", + "5.000000", + "6.000000", + "7.000000", + "8.000000" + ], + "rubyReserve001": [ + "0.000000", + "1.000000", + "2.000000" + ], + "rubyReserve002": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000" + ], + "rubyReserve003": [ + "0.000000", + "1.000000", + "2.000000", + "3.000000", + "4.000000" + ], + "initial001": [ + "0.000000", + "1.000000", + "2.000000" + ], + "initial002": [ + "0.000000", + "1.000000", + "2.000000" + ], + "image001": [ + "0.000000", + "1.000000" + ], + "lengthRootContainerRelative001": [ + "0.000000", + "1.000000" + ], + "lengthRootContainerRelative002": [ + "0.000000", + "1.000000" + ], + "lengthRootContainerRelative003": [ + "0.000000", + "1.000000" + ], + "lengthRootContainerRelative004": [ + "0.000000", + "1.000000" + ], + "lengthRootContainerRelative005": [ + "0.000000" + ], + "lengthRootContainerRelative006": [ + "0.000000", + "10.000000" + ], + "disparity001-left": [ + "0.000000", + "1.000000" + ], + "disparity001-right": [ + "0.000000", + "1.000000" + ], + "luminanceGain001": [ + "0.000000", + "1.000000" + ], + "linepadding002": [ + "0.000000", + "1.000000" + ] +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/doc.json b/src/test/resources/reference-files/imsc1_1/image001/doc.json new file mode 100644 index 00000000..9aa1131c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/image001/doc.json @@ -0,0 +1,126 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "area1": { + "id": "area1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 736, + "unit": "px" + }, + "w": { + "value": 640, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 640, + "unit": "px" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "area1", + "contents": [ + { + "kind": "image", + "src": "image001-img.png", + "type": "image/png", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 120, + "unit": "px" + }, + "w": { + "value": 640, + "unit": "px" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.000925925925925926 + }, + "w": { + "rw": 0.0005208333333333333, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html new file mode 100644 index 00000000..70ffa9e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html @@ -0,0 +1,9 @@ +
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/image001/isd/0.000000.json new file mode 100644 index 00000000..cde321bc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/image001/isd/0.000000.json @@ -0,0 +1,109 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "area1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.6814814814814815 + }, + "w": { + "rw": 0.3333333333333333, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.11111111111111112 + }, + "w": { + "rw": 0.3333333333333333, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "image", + "lang": "en", + "styleAttrs": {}, + "src": "image001-img.png", + "type": "image/png" + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/image001/isd/1.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/image001/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/doc.json b/src/test/resources/reference-files/imsc1_1/initial001/doc.json new file mode 100644 index 00000000..46df38bf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/doc.json @@ -0,0 +1,157 @@ +{ + "events": [ + 0, + 1, + 2 + ], + "head": { + "styling": { + "initials": { + "http://www.w3.org/ns/ttml#styling color": "green" + } + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text should be green", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text should be yellow", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + } + ], + "lang": "en", + "begin": 0, + "end": 2 + } + ], + "lang": "en", + "begin": 0, + "end": 2 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html new file mode 100644 index 00000000..59624a7f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Text should be green + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html new file mode 100644 index 00000000..898e196e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +Text should be yellow + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html new file mode 100644 index 00000000..c1234669 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/initial001/isd/0.000000.json new file mode 100644 index 00000000..2122db5e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text should be green", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/initial001/isd/1.000000.json new file mode 100644 index 00000000..c11c7c57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text should be yellow", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/initial001/isd/2.000000.json new file mode 100644 index 00000000..7dafe092 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial001/isd/2.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/doc.json b/src/test/resources/reference-files/imsc1_1/initial002/doc.json new file mode 100644 index 00000000..d62d6b1c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/doc.json @@ -0,0 +1,159 @@ +{ + "events": [ + 0, + 1, + 2 + ], + "head": { + "styling": { + "initials": { + "http://www.w3.org/ns/ttml#styling color": "green", + "http://www.w3.org/ns/ttml#styling fontStyle": "italic" + } + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text should be green and italic", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Text should be yellow and not italic", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + } + ], + "lang": "en", + "begin": 0, + "end": 2 + } + ], + "lang": "en", + "begin": 0, + "end": 2 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html new file mode 100644 index 00000000..946cddeb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +Text should be green and +italic + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html new file mode 100644 index 00000000..23d5b3e8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html @@ -0,0 +1,14 @@ +
+
+
+
+

+ +Text should be yellow and +not italic + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html new file mode 100644 index 00000000..c1234669 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/initial002/isd/0.000000.json new file mode 100644 index 00000000..ae943024 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "italic", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text should be green and italic", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/initial002/isd/1.000000.json new file mode 100644 index 00000000..7b92d6f5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Text should be yellow and not italic", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/initial002/isd/2.000000.json new file mode 100644 index 00000000..7dafe092 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/initial002/isd/2.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/doc.json new file mode 100644 index 00000000..91f304cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/doc.json @@ -0,0 +1,120 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 50, + "unit": "rh" + }, + "w": { + "value": 50, + "unit": "rw" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:extent=\"50rw 50rh\"\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html new file mode 100644 index 00000000..53fce329 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +tts:extent="50rw 50rh" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html new file mode 100644 index 00000000..3360cbe5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/0.000000.json new file mode 100644 index 00000000..94e54800 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:extent=\"50rw 50rh\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/1.000000.json new file mode 100644 index 00000000..d0a1a97c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.5 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/doc.json new file mode 100644 index 00000000..936ae631 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/doc.json @@ -0,0 +1,150 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 50, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 10, + "unit": "rh" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 10rh ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 20, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "20rh", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html new file mode 100644 index 00000000..52f09b84 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +10rh + + +20rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html new file mode 100644 index 00000000..bca2cc19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/0.000000.json new file mode 100644 index 00000000..728f35c8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/0.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "10rh ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.2 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "20rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/1.000000.json new file mode 100644 index 00000000..60544cf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/doc.json new file mode 100644 index 00000000..9fed49c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/doc.json @@ -0,0 +1,223 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "rh" + }, + "w": { + "value": 50, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 5, + "unit": "rh" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 7, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n lineHeight=\"7rh\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "lineHeight=\"7rh\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "lineHeight=\"7rh\"\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 14, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n lineHeight=\"14rh\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "lineHeight=\"14rh\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "lineHeight=\"14rh\"\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html new file mode 100644 index 00000000..e5d5b066 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html @@ -0,0 +1,34 @@ +
+
+
+
+

+ +lineHeight="7rh" + +
+ +lineHeight="7rh" + +
+ +lineHeight="7rh" + +

+

+ +lineHeight="14rh" + +
+ +lineHeight="14rh" + +
+ +lineHeight="14rh" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html new file mode 100644 index 00000000..ee1e97bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/0.000000.json new file mode 100644 index 00000000..fd0159b1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/0.000000.json @@ -0,0 +1,498 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.07 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"7rh\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"7rh\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"7rh\" ", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.14 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"14rh\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"14rh\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lineHeight=\"14rh\" ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/1.000000.json new file mode 100644 index 00000000..1a45bf02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 0.5, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/doc.json new file mode 100644 index 00000000..fdfe8996 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/doc.json @@ -0,0 +1,302 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "rh" + }, + "w": { + "value": 90, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 5, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 0, + "unit": "rh" + }, + { + "value": 5, + "unit": "rw" + }, + { + "value": 10, + "unit": "rh" + }, + { + "value": 20, + "unit": "rw" + } + ] + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "rh" + }, + "w": { + "value": 90, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 5, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 0, + "unit": "rh" + }, + { + "value": 5, + "unit": "rw" + }, + { + "value": 10, + "unit": "rh" + }, + { + "value": 20, + "unit": "rw" + } + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:padding=\"0rh 5rw 10rh 20rw\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:displayAlign=\"before\"\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:padding=\"0rh 5rw 10rh 20rw\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n tts:displayAlign=\"after\"\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html new file mode 100644 index 00000000..029bf60c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html @@ -0,0 +1,34 @@ +
+
+
+
+

+ +tts:padding="0rh 5rw 10rh +20rw" + +
+ +tts:displayAlign="before" + +

+
+
+
+
+
+
+

+ +tts:padding="0rh 5rw 10rh +20rw" + +
+ +tts:displayAlign="after" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html new file mode 100644 index 00000000..c1d45e22 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/0.000000.json new file mode 100644 index 00000000..ed4edb39 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/0.000000.json @@ -0,0 +1,482 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.5499999999999999 + }, + "w": { + "rw": 0.04999999999999999, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.1 + }, + { + "rw": 0.05, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:padding=\"0rh 5rw 10rh 20rw\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:displayAlign=\"before\" ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.04999999999999999, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.1 + }, + { + "rw": 0.05, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:padding=\"0rh 5rw 10rh 20rw\"", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:displayAlign=\"after\" ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/1.000000.json new file mode 100644 index 00000000..36356d42 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/isd/1.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.5499999999999999 + }, + "w": { + "rw": 0.04999999999999999, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.1 + }, + { + "rw": 0.05, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.9, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.04999999999999999, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0.2, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.1 + }, + { + "rw": 0.05, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/doc.json new file mode 100644 index 00000000..e3ca8137 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/doc.json @@ -0,0 +1,197 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r": { + "id": "r", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 125, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n I serve it with greens in those \n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textShadow": [ + [ + { + "value": 1.5, + "unit": "rw" + }, + { + "value": -1.5, + "unit": "rh" + }, + { + "value": 0.5, + "unit": "rh" + }, + [ + 255, + 255, + 255, + 255 + ] + ] + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "shadowy scenes,", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n And I use it for striking a light:\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html new file mode 100644 index 00000000..b6745f95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +I serve it with greens in those + + +shadowy scenes, + +
+ +And I use it for striking a light: + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/isd/0.000000.json new file mode 100644 index 00000000..8366c995 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/isd/0.000000.json @@ -0,0 +1,316 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.08333333333333334 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "I serve it with greens in those ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textShadow": [ + { + "x_off": { + "rw": 0.015, + "rh": 0 + }, + "y_off": { + "rw": 0, + "rh": -0.015 + }, + "b_radius": { + "rw": 0, + "rh": 0.005 + }, + "color": [ + 255, + 255, + 255, + 255 + ] + } + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "shadowy scenes,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "And I use it for striking a light: ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/doc.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/doc.json new file mode 100644 index 00000000..b7a49416 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/doc.json @@ -0,0 +1,133 @@ +{ + "events": [ + 0, + 10 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "": { + "id": "", + "styleAttrs": {}, + "sets": [], + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 15, + "unit": "rh" + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 0, + 0, + 0, + 255 + ], + "thickness": { + "value": 1.5, + "unit": "rh" + } + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "This text has a 10% outline that is black.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + } + ], + "lang": "en", + "begin": 0, + "end": 10 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html new file mode 100644 index 00000000..e4615d59 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html @@ -0,0 +1,15 @@ +
+
+
+
+

+ +This text has a 10% +outline that is +black. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html new file mode 100644 index 00000000..cb7dbcf5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/0.000000.json new file mode 100644 index 00000000..59cd7498 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/0.000000.json @@ -0,0 +1,201 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.15 + }, + "http://www.w3.org/ns/ttml#styling textOutline": { + "color": [ + 0, + 0, + 0, + 255 + ], + "thickness": { + "rw": 0, + "rh": 0.015 + } + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "This text has a 10% outline that is black.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/10.000000.json b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/10.000000.json new file mode 100644 index 00000000..d3f32753 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/isd/10.000000.json @@ -0,0 +1,66 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/doc.json b/src/test/resources/reference-files/imsc1_1/linepadding002/doc.json new file mode 100644 index 00000000..2d84ff1d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/linepadding002/doc.json @@ -0,0 +1,257 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r": { + "id": "r", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 125, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "urn:ebu:tt:style linePadding": { + "value": 0.25, + "unit": "c" + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "ruby container boxed with ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "padding", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "0.25em", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "a span on a 2nd line", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html new file mode 100644 index 00000000..663da0e1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +ruby container boxed with + + + +padding + + +0 +. +2 +5 +e +m + + +
+ +a span on a 2nd line + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html new file mode 100644 index 00000000..1328b870 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/linepadding002/isd/0.000000.json new file mode 100644 index 00000000..67fe46fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/linepadding002/isd/0.000000.json @@ -0,0 +1,376 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.08333333333333334 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0.0078125, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ruby container boxed with ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "padding", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "0.25em", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 128 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "a span on a 2nd line", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/linepadding002/isd/1.000000.json new file mode 100644 index 00000000..6f0ca5b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/linepadding002/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "after", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/doc.json b/src/test/resources/reference-files/imsc1_1/luminanceGain001/doc.json new file mode 100644 index 00000000..cae0aeac --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/luminanceGain001/doc.json @@ -0,0 +1,156 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 100, + "unit": "%" + }, + "w": { + "value": 100, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n \t█", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "Pixels at the center of the rectangle above must have an RGB value of (0xA0, 0xA0, 0xA0) when encoded using the Reference PQ EOTF and full-range quantization over 8-bits.", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html new file mode 100644 index 00000000..65c4af57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ + + +
+ +Pixels at the center of the rectangle above must have an RGB value of (0xA0, 0xA0, 0xA0) +when encoded using the Reference PQ EOTF and full-range quantization over 8-bits. + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html new file mode 100644 index 00000000..cbeaf967 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/0.000000.json new file mode 100644 index 00000000..19525253 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "█", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Pixels at the center of the rectangle above must have an RGB value of (0xA0, 0xA0, 0xA0) when encoded using the Reference PQ EOTF and full-range quantization over 8-bits.", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/1.000000.json new file mode 100644 index 00000000..ff36ef8b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/luminanceGain001/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/doc.json b/src/test/resources/reference-files/imsc1_1/position001/doc.json new file mode 100644 index 00000000..81963d12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/doc.json @@ -0,0 +1,4592 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r3": { + "id": "r3", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r4": { + "id": "r4", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r5": { + "id": "r5", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r6": { + "id": "r6", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r7": { + "id": "r7", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r8": { + "id": "r8", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r9": { + "id": "r9", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r10": { + "id": "r10", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r11": { + "id": "r11", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r12": { + "id": "r12", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r13": { + "id": "r13", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r14": { + "id": "r14", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r15": { + "id": "r15", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r16": { + "id": "r16", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r17": { + "id": "r17", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r18": { + "id": "r18", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r19": { + "id": "r19", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r20": { + "id": "r20", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r21": { + "id": "r21", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r22": { + "id": "r22", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r23": { + "id": "r23", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r24": { + "id": "r24", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r25": { + "id": "r25", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r26": { + "id": "r26", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r27": { + "id": "r27", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r28": { + "id": "r28", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r29": { + "id": "r29", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r30": { + "id": "r30", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r31": { + "id": "r31", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r32": { + "id": "r32", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r33": { + "id": "r33", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r34": { + "id": "r34", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r35": { + "id": "r35", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r36": { + "id": "r36", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r37": { + "id": "r37", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r38": { + "id": "r38", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r39": { + "id": "r39", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r40": { + "id": "r40", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r41": { + "id": "r41", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r42": { + "id": "r42", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r43": { + "id": "r43", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r44": { + "id": "r44", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r45": { + "id": "r45", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r46": { + "id": "r46", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r47": { + "id": "r47", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r48": { + "id": "r48", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r49": { + "id": "r49", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r50": { + "id": "r50", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r51": { + "id": "r51", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r52": { + "id": "r52", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r53": { + "id": "r53", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r54": { + "id": "r54", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r55": { + "id": "r55", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r56": { + "id": "r56", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r57": { + "id": "r57", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r58": { + "id": "r58", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r59": { + "id": "r59", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r60": { + "id": "r60", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r61": { + "id": "r61", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r62": { + "id": "r62", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r3", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r4", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r5", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r6", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25%", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r7", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom center", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r8", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 8 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r9", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r10", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center center", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r11", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r12", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 12 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r13", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r14", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right", + "space": "default", + "lang": "en", + "begin": 13, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 13, + "end": 14 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r15", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center 25%", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r16", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left center", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 16 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r17", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r18", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom", + "space": "default", + "lang": "en", + "begin": 17, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 17, + "end": 18 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r19", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25%", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r20", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right center", + "space": "default", + "lang": "en", + "begin": 19, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 19, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r21", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 21 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r22", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom", + "space": "default", + "lang": "en", + "begin": 21, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 21, + "end": 22 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r23", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25%", + "space": "default", + "lang": "en", + "begin": 22, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 22, + "end": 23 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r24", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top center", + "space": "default", + "lang": "en", + "begin": 23, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 23, + "end": 24 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r25", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left", + "space": "default", + "lang": "en", + "begin": 24, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 24, + "end": 25 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r26", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 26 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r27", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25% center", + "space": "default", + "lang": "en", + "begin": 26, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 26, + "end": 27 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r28", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25% top", + "space": "default", + "lang": "en", + "begin": 27, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 27, + "end": 28 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r29", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25% bottom", + "space": "default", + "lang": "en", + "begin": 28, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 28, + "end": 29 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r30", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25% 25%", + "space": "default", + "lang": "en", + "begin": 29, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 29, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r31", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left 25%", + "space": "default", + "lang": "en", + "begin": 30, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 30, + "end": 31 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r32", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right 25%", + "space": "default", + "lang": "en", + "begin": 31, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 31, + "end": 32 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r33", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25% center", + "space": "default", + "lang": "en", + "begin": 32, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 32, + "end": 33 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r34", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25% left", + "space": "default", + "lang": "en", + "begin": 33, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 33, + "end": 34 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r35", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25% right", + "space": "default", + "lang": "en", + "begin": 34, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 34, + "end": 35 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r36", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom 25%", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 36 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r37", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left 25%", + "space": "default", + "lang": "en", + "begin": 36, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 36, + "end": 37 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r38", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right 25%", + "space": "default", + "lang": "en", + "begin": 37, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 37, + "end": 38 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r39", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top 25%", + "space": "default", + "lang": "en", + "begin": 38, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 38, + "end": 39 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r40", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom 25%", + "space": "default", + "lang": "en", + "begin": 39, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 39, + "end": 40 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r41", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top 25%", + "space": "default", + "lang": "en", + "begin": 40, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 40, + "end": 41 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r42", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25% bottom", + "space": "default", + "lang": "en", + "begin": 41, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 41, + "end": 42 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r43", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25% center", + "space": "default", + "lang": "en", + "begin": 42, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 42, + "end": 43 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r44", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25% top", + "space": "default", + "lang": "en", + "begin": 43, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 43, + "end": 44 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r45", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom 25%", + "space": "default", + "lang": "en", + "begin": 44, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 44, + "end": 45 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r46", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top 25%", + "space": "default", + "lang": "en", + "begin": 45, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 45, + "end": 46 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r47", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25% bottom", + "space": "default", + "lang": "en", + "begin": 46, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 46, + "end": 47 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r48", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25% center", + "space": "default", + "lang": "en", + "begin": 47, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 47, + "end": 48 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r49", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25% top", + "space": "default", + "lang": "en", + "begin": 48, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 48, + "end": 49 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r50", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left 25%", + "space": "default", + "lang": "en", + "begin": 49, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 49, + "end": 50 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r51", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right 25%", + "space": "default", + "lang": "en", + "begin": 50, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 50, + "end": 51 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r52", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25% center", + "space": "default", + "lang": "en", + "begin": 51, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 51, + "end": 52 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r53", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25% left", + "space": "default", + "lang": "en", + "begin": 52, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 52, + "end": 53 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r54", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25% right", + "space": "default", + "lang": "en", + "begin": 53, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 53, + "end": 54 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r55", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25% left 25%", + "space": "default", + "lang": "en", + "begin": 54, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 54, + "end": 55 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r56", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25% right 25%", + "space": "default", + "lang": "en", + "begin": 55, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 55, + "end": 56 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r57", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25% bottom 25%", + "space": "default", + "lang": "en", + "begin": 56, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 56, + "end": 57 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r58", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25% bottom 25%", + "space": "default", + "lang": "en", + "begin": 57, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 57, + "end": 58 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r59", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25% left 25%", + "space": "default", + "lang": "en", + "begin": 58, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 58, + "end": 59 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r60", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25% right 25%", + "space": "default", + "lang": "en", + "begin": 59, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 59, + "end": 60 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r61", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25% top 25%", + "space": "default", + "lang": "en", + "begin": 60, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 60, + "end": 61 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r62", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25% top 25%", + "space": "default", + "lang": "en", + "begin": 61, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 61, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html new file mode 100644 index 00000000..ec58e8e6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html new file mode 100644 index 00000000..c8844f44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html new file mode 100644 index 00000000..c1cb4b73 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html new file mode 100644 index 00000000..921e3db5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html new file mode 100644 index 00000000..e1aba6f1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html new file mode 100644 index 00000000..db051d24 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html new file mode 100644 index 00000000..7585bcb9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html new file mode 100644 index 00000000..cd3f40c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html new file mode 100644 index 00000000..2e760a36 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html new file mode 100644 index 00000000..45ad5730 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html new file mode 100644 index 00000000..0fa810f8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html new file mode 100644 index 00000000..0cadf54e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html new file mode 100644 index 00000000..6f85fe8c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html new file mode 100644 index 00000000..a5b2f840 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html new file mode 100644 index 00000000..15686a75 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html new file mode 100644 index 00000000..9fe48d60 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html new file mode 100644 index 00000000..5224981c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html new file mode 100644 index 00000000..f807fae2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html new file mode 100644 index 00000000..93238a11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html new file mode 100644 index 00000000..027cd503 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25% center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html new file mode 100644 index 00000000..7c75147f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25% top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html new file mode 100644 index 00000000..1e6ca3c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25% bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html new file mode 100644 index 00000000..54778577 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25% 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html new file mode 100644 index 00000000..395a1c92 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html new file mode 100644 index 00000000..1c26babe --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html new file mode 100644 index 00000000..adf50255 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html new file mode 100644 index 00000000..05a087e4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25% center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html new file mode 100644 index 00000000..5163d811 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25% left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html new file mode 100644 index 00000000..adc9b06e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25% right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html new file mode 100644 index 00000000..5c5dba0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html new file mode 100644 index 00000000..4dac01ca --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html new file mode 100644 index 00000000..dccb8094 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html new file mode 100644 index 00000000..96e9eb8e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html new file mode 100644 index 00000000..8acdd44a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html new file mode 100644 index 00000000..896c0515 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html new file mode 100644 index 00000000..12c93095 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html new file mode 100644 index 00000000..97242e39 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html new file mode 100644 index 00000000..79dc6d1c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html new file mode 100644 index 00000000..8e2044e1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html new file mode 100644 index 00000000..ce6f53a0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html new file mode 100644 index 00000000..2ab453b8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html new file mode 100644 index 00000000..6a2eee20 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html new file mode 100644 index 00000000..68d2e120 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html new file mode 100644 index 00000000..fced8a50 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html new file mode 100644 index 00000000..36bd4160 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html new file mode 100644 index 00000000..b35a00e4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html new file mode 100644 index 00000000..f872bc50 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html new file mode 100644 index 00000000..1074a6ad --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25% center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html new file mode 100644 index 00000000..c9dc4480 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25% left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html new file mode 100644 index 00000000..d5fa426b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25% right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html new file mode 100644 index 00000000..2aca35da --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25% left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html new file mode 100644 index 00000000..29178766 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25% right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html new file mode 100644 index 00000000..ca74d7f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% bottom 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html new file mode 100644 index 00000000..134750aa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% bottom 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html new file mode 100644 index 00000000..3a1ae82b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25% left 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html new file mode 100644 index 00000000..b06f8665 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25% right 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html new file mode 100644 index 00000000..596f7112 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html new file mode 100644 index 00000000..85be1647 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25% top 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html new file mode 100644 index 00000000..5c53eed0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25% top 25% + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html new file mode 100644 index 00000000..b3fa0c89 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html new file mode 100644 index 00000000..9ea3c27d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html new file mode 100644 index 00000000..2ae5700d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/0.000000.json new file mode 100644 index 00000000..5953be34 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/1.000000.json new file mode 100644 index 00000000..80a252f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/10.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/10.000000.json new file mode 100644 index 00000000..479fcc25 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/10.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r11", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/11.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/11.000000.json new file mode 100644 index 00000000..ef97e6d7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/11.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r12", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/12.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/12.000000.json new file mode 100644 index 00000000..c273120f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/12.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r13", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/13.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/13.000000.json new file mode 100644 index 00000000..d7162648 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/13.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r14", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/14.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/14.000000.json new file mode 100644 index 00000000..931fad1d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/14.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r15", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/15.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/15.000000.json new file mode 100644 index 00000000..f94f5540 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/15.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r16", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/16.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/16.000000.json new file mode 100644 index 00000000..e9fe0bdd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/16.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r17", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/17.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/17.000000.json new file mode 100644 index 00000000..73bebd67 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/17.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r18", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/18.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/18.000000.json new file mode 100644 index 00000000..cd628d35 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/18.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r19", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/19.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/19.000000.json new file mode 100644 index 00000000..78c12315 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/19.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r20", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/2.000000.json new file mode 100644 index 00000000..750a602b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/20.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/20.000000.json new file mode 100644 index 00000000..a2bf75f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/20.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r21", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/21.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/21.000000.json new file mode 100644 index 00000000..095021b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/21.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r22", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/22.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/22.000000.json new file mode 100644 index 00000000..a70cae80 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/22.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r23", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/23.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/23.000000.json new file mode 100644 index 00000000..2ce5d57e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/23.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r24", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/24.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/24.000000.json new file mode 100644 index 00000000..16120b42 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/24.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r25", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/25.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/25.000000.json new file mode 100644 index 00000000..e22ffcb6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/25.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r26", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/26.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/26.000000.json new file mode 100644 index 00000000..dfe82b2f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/26.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r27", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25% center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/27.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/27.000000.json new file mode 100644 index 00000000..c96b01f9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/27.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r28", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25% top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/28.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/28.000000.json new file mode 100644 index 00000000..75fa8574 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/28.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r29", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25% bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/29.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/29.000000.json new file mode 100644 index 00000000..12a66779 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/29.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r30", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25% 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/3.000000.json new file mode 100644 index 00000000..4810f4b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/3.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r4", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/30.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/30.000000.json new file mode 100644 index 00000000..038ed2d3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/30.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r31", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/31.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/31.000000.json new file mode 100644 index 00000000..7f927f0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/31.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r32", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/32.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/32.000000.json new file mode 100644 index 00000000..15b75690 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/32.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r33", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25% center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/33.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/33.000000.json new file mode 100644 index 00000000..653d3394 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/33.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r34", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25% left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/34.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/34.000000.json new file mode 100644 index 00000000..0d04425b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/34.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r35", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25% right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/35.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/35.000000.json new file mode 100644 index 00000000..e3fcb741 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/35.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r36", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/36.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/36.000000.json new file mode 100644 index 00000000..4af7a701 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/36.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r37", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/37.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/37.000000.json new file mode 100644 index 00000000..81e7e6cf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/37.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r38", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/38.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/38.000000.json new file mode 100644 index 00000000..32f9e61a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/38.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r39", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/39.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/39.000000.json new file mode 100644 index 00000000..f87e557d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/39.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r40", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/4.000000.json new file mode 100644 index 00000000..5a29e8d1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r5", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/40.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/40.000000.json new file mode 100644 index 00000000..35ea841d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/40.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r41", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/41.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/41.000000.json new file mode 100644 index 00000000..a4dae0eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/41.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r42", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25% bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/42.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/42.000000.json new file mode 100644 index 00000000..5401f298 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/42.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r43", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25% center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/43.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/43.000000.json new file mode 100644 index 00000000..6be9e18e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/43.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r44", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25% top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/44.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/44.000000.json new file mode 100644 index 00000000..20b4160f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/44.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r45", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/45.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/45.000000.json new file mode 100644 index 00000000..bc1efbb9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/45.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r46", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/46.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/46.000000.json new file mode 100644 index 00000000..24f29648 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/46.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r47", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25% bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/47.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/47.000000.json new file mode 100644 index 00000000..509c85dd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/47.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r48", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25% center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/48.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/48.000000.json new file mode 100644 index 00000000..b1bad302 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/48.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r49", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25% top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/49.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/49.000000.json new file mode 100644 index 00000000..84e81108 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/49.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r50", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/5.000000.json new file mode 100644 index 00000000..89196958 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r6", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/50.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/50.000000.json new file mode 100644 index 00000000..6163306c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/50.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r51", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/51.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/51.000000.json new file mode 100644 index 00000000..dde9e783 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/51.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r52", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25% center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/52.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/52.000000.json new file mode 100644 index 00000000..cb8c1e16 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/52.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r53", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25% left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/53.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/53.000000.json new file mode 100644 index 00000000..069175ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/53.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r54", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25% right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/54.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/54.000000.json new file mode 100644 index 00000000..8cfa7e57 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/54.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r55", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25% left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/55.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/55.000000.json new file mode 100644 index 00000000..97f8c16f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/55.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r56", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25% right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/56.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/56.000000.json new file mode 100644 index 00000000..e3098d3f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/56.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r57", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25% bottom 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/57.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/57.000000.json new file mode 100644 index 00000000..fb8f292a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/57.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r58", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6000000000000001 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25% bottom 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/58.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/58.000000.json new file mode 100644 index 00000000..aeb7f557 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/58.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r59", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25% left 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/59.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/59.000000.json new file mode 100644 index 00000000..c7bce118 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/59.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r60", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25% right 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/6.000000.json new file mode 100644 index 00000000..a82d5c32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/6.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r7", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/60.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/60.000000.json new file mode 100644 index 00000000..f923d383 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/60.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r61", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25% top 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/61.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/61.000000.json new file mode 100644 index 00000000..ce0ea93d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/61.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r62", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25% top 25%", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/62.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/62.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/62.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/7.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/7.000000.json new file mode 100644 index 00000000..50294839 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/7.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r8", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/8.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/8.000000.json new file mode 100644 index 00000000..27b70964 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/8.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r9", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/position001/isd/9.000000.json new file mode 100644 index 00000000..748ea4d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position001/isd/9.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r10", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/doc.json b/src/test/resources/reference-files/imsc1_1/position002/doc.json new file mode 100644 index 00000000..0b27e41d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/doc.json @@ -0,0 +1,4598 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r3": { + "id": "r3", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r4": { + "id": "r4", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r5": { + "id": "r5", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r6": { + "id": "r6", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r7": { + "id": "r7", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r8": { + "id": "r8", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r9": { + "id": "r9", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r10": { + "id": "r10", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r11": { + "id": "r11", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r12": { + "id": "r12", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r13": { + "id": "r13", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r14": { + "id": "r14", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r15": { + "id": "r15", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r16": { + "id": "r16", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r17": { + "id": "r17", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r18": { + "id": "r18", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r19": { + "id": "r19", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r20": { + "id": "r20", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r21": { + "id": "r21", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r22": { + "id": "r22", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r23": { + "id": "r23", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r24": { + "id": "r24", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r25": { + "id": "r25", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r26": { + "id": "r26", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r27": { + "id": "r27", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r28": { + "id": "r28", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r29": { + "id": "r29", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r30": { + "id": "r30", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r31": { + "id": "r31", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r32": { + "id": "r32", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r33": { + "id": "r33", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r34": { + "id": "r34", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r35": { + "id": "r35", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r36": { + "id": "r36", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r37": { + "id": "r37", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r38": { + "id": "r38", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r39": { + "id": "r39", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r40": { + "id": "r40", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r41": { + "id": "r41", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r42": { + "id": "r42", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r43": { + "id": "r43", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r44": { + "id": "r44", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r45": { + "id": "r45", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r46": { + "id": "r46", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r47": { + "id": "r47", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r48": { + "id": "r48", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r49": { + "id": "r49", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r50": { + "id": "r50", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r51": { + "id": "r51", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r52": { + "id": "r52", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r53": { + "id": "r53", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r54": { + "id": "r54", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r55": { + "id": "r55", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r56": { + "id": "r56", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r57": { + "id": "r57", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r58": { + "id": "r58", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r59": { + "id": "r59", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r60": { + "id": "r60", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r61": { + "id": "r61", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r62": { + "id": "r62", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 48, + "unit": "px" + }, + "w": { + "value": 400, + "unit": "px" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 48, + "unit": "px" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 48, + "unit": "px" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r3", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r4", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r5", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r6", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "48px", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r7", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom center", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r8", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 8 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r9", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r10", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center center", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r11", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r12", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 12 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r13", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r14", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right", + "space": "default", + "lang": "en", + "begin": 13, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 13, + "end": 14 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r15", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center 48px", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r16", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left center", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 16 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r17", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r18", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom", + "space": "default", + "lang": "en", + "begin": 17, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 17, + "end": 18 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r19", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r20", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right center", + "space": "default", + "lang": "en", + "begin": 19, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 19, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r21", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 21 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r22", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom", + "space": "default", + "lang": "en", + "begin": 21, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 21, + "end": 22 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r23", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px", + "space": "default", + "lang": "en", + "begin": 22, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 22, + "end": 23 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r24", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top center", + "space": "default", + "lang": "en", + "begin": 23, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 23, + "end": 24 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r25", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left", + "space": "default", + "lang": "en", + "begin": 24, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 24, + "end": 25 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r26", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 26 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r27", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "48px center", + "space": "default", + "lang": "en", + "begin": 26, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 26, + "end": 27 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r28", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "48px top", + "space": "default", + "lang": "en", + "begin": 27, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 27, + "end": 28 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r29", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "48px bottom", + "space": "default", + "lang": "en", + "begin": 28, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 28, + "end": 29 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r30", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "48px 48px", + "space": "default", + "lang": "en", + "begin": 29, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 29, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r31", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left 48px", + "space": "default", + "lang": "en", + "begin": 30, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 30, + "end": 31 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r32", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right 48px", + "space": "default", + "lang": "en", + "begin": 31, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 31, + "end": 32 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r33", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 48px center", + "space": "default", + "lang": "en", + "begin": 32, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 32, + "end": 33 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r34", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 48px left", + "space": "default", + "lang": "en", + "begin": 33, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 33, + "end": 34 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r35", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 48px right", + "space": "default", + "lang": "en", + "begin": 34, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 34, + "end": 35 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r36", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom 48px", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 36 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r37", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left 48px", + "space": "default", + "lang": "en", + "begin": 36, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 36, + "end": 37 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r38", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right 48px", + "space": "default", + "lang": "en", + "begin": 37, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 37, + "end": 38 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r39", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top 48px", + "space": "default", + "lang": "en", + "begin": 38, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 38, + "end": 39 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r40", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom 48px", + "space": "default", + "lang": "en", + "begin": 39, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 39, + "end": 40 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r41", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top 48px", + "space": "default", + "lang": "en", + "begin": 40, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 40, + "end": 41 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r42", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px bottom", + "space": "default", + "lang": "en", + "begin": 41, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 41, + "end": 42 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r43", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px center", + "space": "default", + "lang": "en", + "begin": 42, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 42, + "end": 43 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r44", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px top", + "space": "default", + "lang": "en", + "begin": 43, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 43, + "end": 44 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r45", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom 48px", + "space": "default", + "lang": "en", + "begin": 44, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 44, + "end": 45 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r46", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top 48px", + "space": "default", + "lang": "en", + "begin": 45, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 45, + "end": 46 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r47", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px bottom", + "space": "default", + "lang": "en", + "begin": 46, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 46, + "end": 47 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r48", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px center", + "space": "default", + "lang": "en", + "begin": 47, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 47, + "end": 48 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r49", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px top", + "space": "default", + "lang": "en", + "begin": 48, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 48, + "end": 49 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r50", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left 48px", + "space": "default", + "lang": "en", + "begin": 49, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 49, + "end": 50 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r51", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right 48px", + "space": "default", + "lang": "en", + "begin": 50, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 50, + "end": 51 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r52", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 48px center", + "space": "default", + "lang": "en", + "begin": 51, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 51, + "end": 52 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r53", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 48px left", + "space": "default", + "lang": "en", + "begin": 52, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 52, + "end": 53 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r54", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 48px right", + "space": "default", + "lang": "en", + "begin": 53, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 53, + "end": 54 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r55", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 48px left 48px", + "space": "default", + "lang": "en", + "begin": 54, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 54, + "end": 55 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r56", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 48px right 48px", + "space": "default", + "lang": "en", + "begin": 55, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 55, + "end": 56 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r57", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px bottom 48px", + "space": "default", + "lang": "en", + "begin": 56, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 56, + "end": 57 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r58", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px bottom 48px", + "space": "default", + "lang": "en", + "begin": 57, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 57, + "end": 58 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r59", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 48px left 48px", + "space": "default", + "lang": "en", + "begin": 58, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 58, + "end": 59 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r60", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 48px right 48px", + "space": "default", + "lang": "en", + "begin": 59, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 59, + "end": 60 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r61", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 48px top 48px", + "space": "default", + "lang": "en", + "begin": 60, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 60, + "end": 61 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r62", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 48px top 48px", + "space": "default", + "lang": "en", + "begin": 61, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 61, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.0020833333333333333 + }, + "w": { + "rw": 0.0015625, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html new file mode 100644 index 00000000..cb2413fe --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html new file mode 100644 index 00000000..14da5c79 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html new file mode 100644 index 00000000..37b5794d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html new file mode 100644 index 00000000..0af82290 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html new file mode 100644 index 00000000..9914fe96 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html new file mode 100644 index 00000000..26f1bbc3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html new file mode 100644 index 00000000..2ab78002 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html new file mode 100644 index 00000000..39530b1a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html new file mode 100644 index 00000000..c6f042d5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html new file mode 100644 index 00000000..5e906ae4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html new file mode 100644 index 00000000..6a516720 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html new file mode 100644 index 00000000..3a0018d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html new file mode 100644 index 00000000..45663a0f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html new file mode 100644 index 00000000..d017a935 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html new file mode 100644 index 00000000..3c28a3a5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html new file mode 100644 index 00000000..26a2863f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html new file mode 100644 index 00000000..53294b49 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html new file mode 100644 index 00000000..64488a41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html new file mode 100644 index 00000000..bdbf8bbb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html new file mode 100644 index 00000000..07044748 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +48px center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html new file mode 100644 index 00000000..a077549b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +48px top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html new file mode 100644 index 00000000..19845be2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +48px bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html new file mode 100644 index 00000000..0711d96b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +48px 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html new file mode 100644 index 00000000..0e1f76e1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html new file mode 100644 index 00000000..152125c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html new file mode 100644 index 00000000..bf8bd277 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html new file mode 100644 index 00000000..19c22a6c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 48px center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html new file mode 100644 index 00000000..8918e94e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 48px left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html new file mode 100644 index 00000000..9e05b1b7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 48px right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html new file mode 100644 index 00000000..c75226af --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html new file mode 100644 index 00000000..8c9d9893 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html new file mode 100644 index 00000000..5cf7ca6d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html new file mode 100644 index 00000000..05aae3d9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html new file mode 100644 index 00000000..8d4919d8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html new file mode 100644 index 00000000..00331fd4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html new file mode 100644 index 00000000..42407f46 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html new file mode 100644 index 00000000..318a8ffb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html new file mode 100644 index 00000000..49da9cc5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html new file mode 100644 index 00000000..4d3104ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html new file mode 100644 index 00000000..22d8b282 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html new file mode 100644 index 00000000..6df641c3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html new file mode 100644 index 00000000..5faf9060 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html new file mode 100644 index 00000000..ae9d8af1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html new file mode 100644 index 00000000..bf5f44ba --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html new file mode 100644 index 00000000..01020a5c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html new file mode 100644 index 00000000..82989925 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html new file mode 100644 index 00000000..c3cdc0df --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html new file mode 100644 index 00000000..cadbca4b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 48px center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html new file mode 100644 index 00000000..36290cb4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 48px left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html new file mode 100644 index 00000000..6b32a83b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 48px right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html new file mode 100644 index 00000000..0a851af1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 48px left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html new file mode 100644 index 00000000..571037ac --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 48px right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html new file mode 100644 index 00000000..78eb0bf4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px bottom 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html new file mode 100644 index 00000000..5bf34535 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px bottom 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html new file mode 100644 index 00000000..09b226e7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 48px left 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html new file mode 100644 index 00000000..37620578 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 48px right 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html new file mode 100644 index 00000000..6c254456 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html new file mode 100644 index 00000000..ca757219 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 48px top 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html new file mode 100644 index 00000000..d6a05ca5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 48px top 48px + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html new file mode 100644 index 00000000..faf3cff5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html new file mode 100644 index 00000000..7cc47548 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html new file mode 100644 index 00000000..fea5fbe5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/0.000000.json new file mode 100644 index 00000000..e4cff60c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/1.000000.json new file mode 100644 index 00000000..833edb4a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/10.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/10.000000.json new file mode 100644 index 00000000..fdc3f14f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/10.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r11", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/11.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/11.000000.json new file mode 100644 index 00000000..ebbfc484 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/11.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r12", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/12.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/12.000000.json new file mode 100644 index 00000000..823acfaf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/12.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r13", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/13.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/13.000000.json new file mode 100644 index 00000000..758251ce --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/13.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r14", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/14.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/14.000000.json new file mode 100644 index 00000000..23d393fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/14.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r15", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/15.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/15.000000.json new file mode 100644 index 00000000..0db41233 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/15.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r16", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/16.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/16.000000.json new file mode 100644 index 00000000..d0d1dac4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/16.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r17", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/17.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/17.000000.json new file mode 100644 index 00000000..ef1d2f0b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/17.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r18", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/18.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/18.000000.json new file mode 100644 index 00000000..7180d64c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/18.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r19", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/19.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/19.000000.json new file mode 100644 index 00000000..4715b92e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/19.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r20", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/2.000000.json new file mode 100644 index 00000000..0777b5e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/20.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/20.000000.json new file mode 100644 index 00000000..6a6fbbb8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/20.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r21", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/21.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/21.000000.json new file mode 100644 index 00000000..0d1b093e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/21.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r22", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/22.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/22.000000.json new file mode 100644 index 00000000..7ba36cce --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/22.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r23", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/23.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/23.000000.json new file mode 100644 index 00000000..62a32f26 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/23.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r24", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/24.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/24.000000.json new file mode 100644 index 00000000..5cf4658a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/24.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r25", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/25.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/25.000000.json new file mode 100644 index 00000000..5a44515a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/25.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r26", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/26.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/26.000000.json new file mode 100644 index 00000000..dc2c53bb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/26.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r27", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "48px center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/27.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/27.000000.json new file mode 100644 index 00000000..cad9296c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/27.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r28", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "48px top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/28.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/28.000000.json new file mode 100644 index 00000000..76846844 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/28.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r29", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "48px bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/29.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/29.000000.json new file mode 100644 index 00000000..bd987c8d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/29.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r30", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "48px 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/3.000000.json new file mode 100644 index 00000000..3409e849 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/3.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r4", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/30.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/30.000000.json new file mode 100644 index 00000000..8b6de377 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/30.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r31", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/31.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/31.000000.json new file mode 100644 index 00000000..832806c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/31.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r32", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/32.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/32.000000.json new file mode 100644 index 00000000..bd74b3c2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/32.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r33", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 48px center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/33.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/33.000000.json new file mode 100644 index 00000000..e09e3c7f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/33.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r34", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 48px left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/34.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/34.000000.json new file mode 100644 index 00000000..c085a4b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/34.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r35", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 48px right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/35.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/35.000000.json new file mode 100644 index 00000000..d5a302b8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/35.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r36", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/36.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/36.000000.json new file mode 100644 index 00000000..e971339c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/36.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r37", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/37.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/37.000000.json new file mode 100644 index 00000000..1da2668f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/37.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r38", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/38.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/38.000000.json new file mode 100644 index 00000000..dbc0d797 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/38.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r39", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/39.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/39.000000.json new file mode 100644 index 00000000..b2c4638d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/39.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r40", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/4.000000.json new file mode 100644 index 00000000..4f884ecf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r5", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/40.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/40.000000.json new file mode 100644 index 00000000..068a6311 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/40.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r41", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/41.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/41.000000.json new file mode 100644 index 00000000..bc89ecc6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/41.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r42", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/42.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/42.000000.json new file mode 100644 index 00000000..ecf97875 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/42.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r43", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/43.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/43.000000.json new file mode 100644 index 00000000..f1870fb4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/43.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r44", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/44.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/44.000000.json new file mode 100644 index 00000000..2b52427d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/44.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r45", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/45.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/45.000000.json new file mode 100644 index 00000000..8fd4cf0d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/45.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r46", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/46.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/46.000000.json new file mode 100644 index 00000000..0102c18b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/46.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r47", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/47.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/47.000000.json new file mode 100644 index 00000000..a60fe451 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/47.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r48", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/48.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/48.000000.json new file mode 100644 index 00000000..1597f48c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/48.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r49", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/49.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/49.000000.json new file mode 100644 index 00000000..ca3a9329 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/49.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r50", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/5.000000.json new file mode 100644 index 00000000..75720390 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r6", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/50.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/50.000000.json new file mode 100644 index 00000000..2006eeeb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/50.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r51", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/51.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/51.000000.json new file mode 100644 index 00000000..99cf3293 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/51.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r52", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 48px center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/52.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/52.000000.json new file mode 100644 index 00000000..a17eb482 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/52.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r53", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 48px left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/53.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/53.000000.json new file mode 100644 index 00000000..b59911d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/53.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r54", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 48px right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/54.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/54.000000.json new file mode 100644 index 00000000..b28d0e4e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/54.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r55", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 48px left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/55.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/55.000000.json new file mode 100644 index 00000000..d1994619 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/55.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r56", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 48px right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/56.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/56.000000.json new file mode 100644 index 00000000..bb45f730 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/56.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r57", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px bottom 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/57.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/57.000000.json new file mode 100644 index 00000000..6d4e28ac --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/57.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r58", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px bottom 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/58.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/58.000000.json new file mode 100644 index 00000000..f255fb39 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/58.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r59", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 48px left 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/59.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/59.000000.json new file mode 100644 index 00000000..c5a0b8e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/59.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r60", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 48px right 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/6.000000.json new file mode 100644 index 00000000..1971f74e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/6.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r7", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/60.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/60.000000.json new file mode 100644 index 00000000..3220c3a7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/60.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r61", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.07500000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 48px top 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/61.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/61.000000.json new file mode 100644 index 00000000..88ddeb07 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/61.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r62", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.30000000000000004, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 48px top 48px", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/62.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/62.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/62.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/7.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/7.000000.json new file mode 100644 index 00000000..f17267c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/7.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r8", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/8.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/8.000000.json new file mode 100644 index 00000000..238b12dd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/8.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r9", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.375, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/position002/isd/9.000000.json new file mode 100644 index 00000000..674e13f6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position002/isd/9.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r10", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.625, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.45 + }, + "w": { + "rw": 0.1875, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/doc.json b/src/test/resources/reference-files/imsc1_1/position003/doc.json new file mode 100644 index 00000000..2e9c2ed8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/doc.json @@ -0,0 +1,4592 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r3": { + "id": "r3", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r4": { + "id": "r4", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r5": { + "id": "r5", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r6": { + "id": "r6", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rh" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r7": { + "id": "r7", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r8": { + "id": "r8", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r9": { + "id": "r9", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r10": { + "id": "r10", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r11": { + "id": "r11", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r12": { + "id": "r12", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r13": { + "id": "r13", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r14": { + "id": "r14", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r15": { + "id": "r15", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r16": { + "id": "r16", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r17": { + "id": "r17", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r18": { + "id": "r18", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r19": { + "id": "r19", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rw" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r20": { + "id": "r20", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r21": { + "id": "r21", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r22": { + "id": "r22", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r23": { + "id": "r23", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rw" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r24": { + "id": "r24", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r25": { + "id": "r25", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r26": { + "id": "r26", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r27": { + "id": "r27", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r28": { + "id": "r28", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r29": { + "id": "r29", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r30": { + "id": "r30", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r31": { + "id": "r31", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r32": { + "id": "r32", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r33": { + "id": "r33", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r34": { + "id": "r34", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r35": { + "id": "r35", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r36": { + "id": "r36", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r37": { + "id": "r37", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r38": { + "id": "r38", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r39": { + "id": "r39", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r40": { + "id": "r40", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r41": { + "id": "r41", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r42": { + "id": "r42", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r43": { + "id": "r43", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r44": { + "id": "r44", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r45": { + "id": "r45", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r46": { + "id": "r46", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r47": { + "id": "r47", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r48": { + "id": "r48", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r49": { + "id": "r49", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r50": { + "id": "r50", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r51": { + "id": "r51", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 0, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r52": { + "id": "r52", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r53": { + "id": "r53", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r54": { + "id": "r54", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 0, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r55": { + "id": "r55", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r56": { + "id": "r56", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r57": { + "id": "r57", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r58": { + "id": "r58", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r59": { + "id": "r59", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r60": { + "id": "r60", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r61": { + "id": "r61", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "r62": { + "id": "r62", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "rh" + }, + "w": { + "value": 60, + "unit": "rw" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 25, + "unit": "rw" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 25, + "unit": "rh" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "seq", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r3", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r4", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r5", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r6", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25rh", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r7", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom center", + "space": "default", + "lang": "en", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r8", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left", + "space": "default", + "lang": "en", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 7, + "end": 8 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r9", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right", + "space": "default", + "lang": "en", + "begin": 8, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 8, + "end": 9 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r10", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center center", + "space": "default", + "lang": "en", + "begin": 9, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 9, + "end": 10 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r11", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top", + "space": "default", + "lang": "en", + "begin": 10, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 10, + "end": 11 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r12", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom", + "space": "default", + "lang": "en", + "begin": 11, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 11, + "end": 12 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r13", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left", + "space": "default", + "lang": "en", + "begin": 12, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 12, + "end": 13 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r14", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right", + "space": "default", + "lang": "en", + "begin": 13, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 13, + "end": 14 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r15", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center 25rh", + "space": "default", + "lang": "en", + "begin": 14, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 14, + "end": 15 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r16", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left center", + "space": "default", + "lang": "en", + "begin": 15, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 15, + "end": 16 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r17", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top", + "space": "default", + "lang": "en", + "begin": 16, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 16, + "end": 17 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r18", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom", + "space": "default", + "lang": "en", + "begin": 17, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 17, + "end": 18 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r19", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw", + "space": "default", + "lang": "en", + "begin": 18, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 18, + "end": 19 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r20", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right center", + "space": "default", + "lang": "en", + "begin": 19, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 19, + "end": 20 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r21", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top", + "space": "default", + "lang": "en", + "begin": 20, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 20, + "end": 21 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r22", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom", + "space": "default", + "lang": "en", + "begin": 21, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 21, + "end": 22 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r23", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw", + "space": "default", + "lang": "en", + "begin": 22, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 22, + "end": 23 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r24", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top center", + "space": "default", + "lang": "en", + "begin": 23, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 23, + "end": 24 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r25", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left", + "space": "default", + "lang": "en", + "begin": 24, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 24, + "end": 25 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r26", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right", + "space": "default", + "lang": "en", + "begin": 25, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 25, + "end": 26 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r27", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25rw center", + "space": "default", + "lang": "en", + "begin": 26, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 26, + "end": 27 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r28", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25rw top", + "space": "default", + "lang": "en", + "begin": 27, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 27, + "end": 28 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r29", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25rw bottom", + "space": "default", + "lang": "en", + "begin": 28, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 28, + "end": 29 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r30", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "25rw 25rh", + "space": "default", + "lang": "en", + "begin": 29, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 29, + "end": 30 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r31", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom left 25rw", + "space": "default", + "lang": "en", + "begin": 30, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 30, + "end": 31 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r32", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom right 25rw", + "space": "default", + "lang": "en", + "begin": 31, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 31, + "end": 32 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r33", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25rh center", + "space": "default", + "lang": "en", + "begin": 32, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 32, + "end": 33 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r34", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25rh left", + "space": "default", + "lang": "en", + "begin": 33, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 33, + "end": 34 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r35", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25rh right", + "space": "default", + "lang": "en", + "begin": 34, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 34, + "end": 35 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r36", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center bottom 25rh", + "space": "default", + "lang": "en", + "begin": 35, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 35, + "end": 36 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r37", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center left 25rw", + "space": "default", + "lang": "en", + "begin": 36, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 36, + "end": 37 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r38", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center right 25rw", + "space": "default", + "lang": "en", + "begin": 37, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 37, + "end": 38 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r39", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "center top 25rh", + "space": "default", + "lang": "en", + "begin": 38, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 38, + "end": 39 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r40", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left bottom 25rh", + "space": "default", + "lang": "en", + "begin": 39, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 39, + "end": 40 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r41", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left top 25rh", + "space": "default", + "lang": "en", + "begin": 40, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 40, + "end": 41 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r42", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw bottom", + "space": "default", + "lang": "en", + "begin": 41, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 41, + "end": 42 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r43", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw center", + "space": "default", + "lang": "en", + "begin": 42, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 42, + "end": 43 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r44", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw top", + "space": "default", + "lang": "en", + "begin": 43, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 43, + "end": 44 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r45", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right bottom 25rh", + "space": "default", + "lang": "en", + "begin": 44, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 44, + "end": 45 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r46", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right top 25rh", + "space": "default", + "lang": "en", + "begin": 45, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 45, + "end": 46 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r47", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw bottom", + "space": "default", + "lang": "en", + "begin": 46, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 46, + "end": 47 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r48", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw center", + "space": "default", + "lang": "en", + "begin": 47, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 47, + "end": 48 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r49", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw top", + "space": "default", + "lang": "en", + "begin": 48, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 48, + "end": 49 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r50", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top left 25rw", + "space": "default", + "lang": "en", + "begin": 49, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 49, + "end": 50 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r51", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top right 25rw", + "space": "default", + "lang": "en", + "begin": 50, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 50, + "end": 51 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r52", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25rh center", + "space": "default", + "lang": "en", + "begin": 51, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 51, + "end": 52 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r53", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25rh left", + "space": "default", + "lang": "en", + "begin": 52, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 52, + "end": 53 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r54", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25rh right", + "space": "default", + "lang": "en", + "begin": 53, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 53, + "end": 54 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r55", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25rh left 25rw", + "space": "default", + "lang": "en", + "begin": 54, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 54, + "end": 55 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r56", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "bottom 25rh right 25rw", + "space": "default", + "lang": "en", + "begin": 55, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 55, + "end": 56 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r57", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw bottom 25rh", + "space": "default", + "lang": "en", + "begin": 56, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 56, + "end": 57 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r58", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw bottom 25rh", + "space": "default", + "lang": "en", + "begin": 57, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 57, + "end": 58 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r59", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25rh left 25rw", + "space": "default", + "lang": "en", + "begin": 58, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 58, + "end": 59 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r60", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "top 25rh right 25rw", + "space": "default", + "lang": "en", + "begin": 59, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 59, + "end": 60 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r61", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "left 25rw top 25rh", + "space": "default", + "lang": "en", + "begin": 60, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 60, + "end": 61 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r62", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "right 25rw top 25rh", + "space": "default", + "lang": "en", + "begin": 61, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 61, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + } + ], + "lang": "en", + "begin": 0, + "end": 62 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html new file mode 100644 index 00000000..ec58e8e6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html new file mode 100644 index 00000000..c8844f44 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html new file mode 100644 index 00000000..c1cb4b73 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html new file mode 100644 index 00000000..921e3db5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html new file mode 100644 index 00000000..e1aba6f1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html new file mode 100644 index 00000000..db051d24 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html new file mode 100644 index 00000000..283c7b45 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html new file mode 100644 index 00000000..cd3f40c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html new file mode 100644 index 00000000..2e760a36 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html new file mode 100644 index 00000000..45ad5730 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html new file mode 100644 index 00000000..4fef5d03 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html new file mode 100644 index 00000000..0cadf54e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html new file mode 100644 index 00000000..6f85fe8c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html new file mode 100644 index 00000000..a5b2f840 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html new file mode 100644 index 00000000..15686a75 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html new file mode 100644 index 00000000..7c324772 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html new file mode 100644 index 00000000..5224981c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html new file mode 100644 index 00000000..f807fae2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html new file mode 100644 index 00000000..93238a11 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html new file mode 100644 index 00000000..542d58f2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25rw center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html new file mode 100644 index 00000000..b5b2fca4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25rw top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html new file mode 100644 index 00000000..ff6e79ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25rw bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html new file mode 100644 index 00000000..ee30c44f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25rw 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html new file mode 100644 index 00000000..395a1c92 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html new file mode 100644 index 00000000..200ee93c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html new file mode 100644 index 00000000..14d6b28c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html new file mode 100644 index 00000000..8d500132 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25rh center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html new file mode 100644 index 00000000..6dbbd64f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25rh left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html new file mode 100644 index 00000000..fd41c9fc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25rh right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html new file mode 100644 index 00000000..7bd2747a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center bottom 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html new file mode 100644 index 00000000..1d8bef17 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html new file mode 100644 index 00000000..ae69ca53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html new file mode 100644 index 00000000..20216cfb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center top 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html new file mode 100644 index 00000000..e43d19b0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left bottom 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html new file mode 100644 index 00000000..896c0515 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html new file mode 100644 index 00000000..77e90036 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left top 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html new file mode 100644 index 00000000..97751664 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html new file mode 100644 index 00000000..569af800 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html new file mode 100644 index 00000000..174ec93f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html new file mode 100644 index 00000000..4d6d3533 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right bottom 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html new file mode 100644 index 00000000..b750e9a7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right top 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html new file mode 100644 index 00000000..848ab36e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw bottom + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html new file mode 100644 index 00000000..3762ee66 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html new file mode 100644 index 00000000..d3c29216 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw top + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html new file mode 100644 index 00000000..9855f7b4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html new file mode 100644 index 00000000..324f1c43 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html new file mode 100644 index 00000000..30957f17 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html new file mode 100644 index 00000000..71ae1e12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25rh center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html new file mode 100644 index 00000000..8559cad5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25rh left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html new file mode 100644 index 00000000..650c87e4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25rh right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html new file mode 100644 index 00000000..e198fc6a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25rh left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html new file mode 100644 index 00000000..e6a3fd35 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom 25rh right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html new file mode 100644 index 00000000..9fe03801 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw bottom 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html new file mode 100644 index 00000000..b5ad11bc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw bottom 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html new file mode 100644 index 00000000..7afd3f69 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25rh left 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html new file mode 100644 index 00000000..c254e5c2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +top 25rh right 25rw + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html new file mode 100644 index 00000000..596f7112 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html new file mode 100644 index 00000000..c18f4bb7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +left 25rw top 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html new file mode 100644 index 00000000..13188c7f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +right 25rw top 25rh + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html new file mode 100644 index 00000000..b3fa0c89 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom left + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html new file mode 100644 index 00000000..9ea3c27d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +bottom right + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html new file mode 100644 index 00000000..2ae5700d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html @@ -0,0 +1,13 @@ +
+
+
+
+

+ +center center + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/0.000000.json new file mode 100644 index 00000000..5953be34 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/0.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/1.000000.json new file mode 100644 index 00000000..80a252f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/1.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/10.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/10.000000.json new file mode 100644 index 00000000..479fcc25 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/10.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r11", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/11.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/11.000000.json new file mode 100644 index 00000000..ef97e6d7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/11.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r12", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/12.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/12.000000.json new file mode 100644 index 00000000..c273120f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/12.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r13", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/13.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/13.000000.json new file mode 100644 index 00000000..d7162648 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/13.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r14", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/14.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/14.000000.json new file mode 100644 index 00000000..63332ccd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/14.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r15", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/15.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/15.000000.json new file mode 100644 index 00000000..f94f5540 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/15.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r16", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/16.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/16.000000.json new file mode 100644 index 00000000..e9fe0bdd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/16.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r17", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/17.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/17.000000.json new file mode 100644 index 00000000..73bebd67 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/17.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r18", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/18.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/18.000000.json new file mode 100644 index 00000000..986a6189 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/18.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r19", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0.25, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/19.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/19.000000.json new file mode 100644 index 00000000..78c12315 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/19.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r20", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/2.000000.json new file mode 100644 index 00000000..750a602b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/2.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r3", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/20.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/20.000000.json new file mode 100644 index 00000000..a2bf75f7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/20.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r21", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/21.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/21.000000.json new file mode 100644 index 00000000..095021b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/21.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r22", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/22.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/22.000000.json new file mode 100644 index 00000000..c913e445 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/22.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r23", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0.25, + "rh": 0 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/23.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/23.000000.json new file mode 100644 index 00000000..2ce5d57e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/23.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r24", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/24.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/24.000000.json new file mode 100644 index 00000000..16120b42 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/24.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r25", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/25.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/25.000000.json new file mode 100644 index 00000000..e22ffcb6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/25.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r26", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/26.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/26.000000.json new file mode 100644 index 00000000..9124b076 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/26.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r27", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25rw center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/27.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/27.000000.json new file mode 100644 index 00000000..940f97c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/27.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r28", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25rw top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/28.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/28.000000.json new file mode 100644 index 00000000..42748de6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/28.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r29", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25rw bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/29.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/29.000000.json new file mode 100644 index 00000000..00507276 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/29.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r30", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25rw 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/3.000000.json new file mode 100644 index 00000000..4810f4b5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/3.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r4", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/30.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/30.000000.json new file mode 100644 index 00000000..d1c8a9ab --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/30.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r31", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/31.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/31.000000.json new file mode 100644 index 00000000..50f1ff25 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/31.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r32", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/32.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/32.000000.json new file mode 100644 index 00000000..3ad7bb76 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/32.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r33", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25rh center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/33.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/33.000000.json new file mode 100644 index 00000000..942bfd43 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/33.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r34", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25rh left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/34.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/34.000000.json new file mode 100644 index 00000000..ea8302a6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/34.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r35", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25rh right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/35.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/35.000000.json new file mode 100644 index 00000000..3529cc03 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/35.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r36", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center bottom 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/36.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/36.000000.json new file mode 100644 index 00000000..b7707e9b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/36.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r37", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/37.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/37.000000.json new file mode 100644 index 00000000..ece020e5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/37.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r38", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/38.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/38.000000.json new file mode 100644 index 00000000..d78da1e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/38.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r39", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center top 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/39.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/39.000000.json new file mode 100644 index 00000000..b025fbda --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/39.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r40", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left bottom 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/4.000000.json new file mode 100644 index 00000000..5a29e8d1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/4.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r5", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/40.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/40.000000.json new file mode 100644 index 00000000..48cfeb04 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/40.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r41", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left top 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/41.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/41.000000.json new file mode 100644 index 00000000..d2b570e0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/41.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r42", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/42.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/42.000000.json new file mode 100644 index 00000000..010dd656 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/42.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r43", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/43.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/43.000000.json new file mode 100644 index 00000000..821c84c7 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/43.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r44", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/44.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/44.000000.json new file mode 100644 index 00000000..ce9c27e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/44.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r45", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right bottom 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/45.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/45.000000.json new file mode 100644 index 00000000..a39abed3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/45.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r46", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right top 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/46.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/46.000000.json new file mode 100644 index 00000000..0d46dfcb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/46.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r47", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw bottom", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/47.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/47.000000.json new file mode 100644 index 00000000..761adf87 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/47.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r48", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/48.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/48.000000.json new file mode 100644 index 00000000..eab7af24 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/48.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r49", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw top", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/49.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/49.000000.json new file mode 100644 index 00000000..c3247b6f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/49.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r50", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/5.000000.json new file mode 100644 index 00000000..8b1eb5f3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/5.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r6", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0, + "rh": 0.25 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/50.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/50.000000.json new file mode 100644 index 00000000..167db7c6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/50.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r51", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/51.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/51.000000.json new file mode 100644 index 00000000..9d4876c0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/51.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r52", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25rh center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/52.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/52.000000.json new file mode 100644 index 00000000..ee5de8c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/52.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r53", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25rh left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/53.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/53.000000.json new file mode 100644 index 00000000..b3ccf10b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/53.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r54", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25rh right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/54.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/54.000000.json new file mode 100644 index 00000000..72acfba9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/54.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r55", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25rh left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/55.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/55.000000.json new file mode 100644 index 00000000..1cbcd321 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/55.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r56", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom 25rh right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/56.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/56.000000.json new file mode 100644 index 00000000..ff835026 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/56.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r57", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw bottom 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/57.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/57.000000.json new file mode 100644 index 00000000..c3f52464 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/57.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r58", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.55 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw bottom 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/58.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/58.000000.json new file mode 100644 index 00000000..feb373ea --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/58.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r59", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25rh left 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/59.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/59.000000.json new file mode 100644 index 00000000..58f7f82f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/59.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r60", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "top 25rh right 25rw", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/6.000000.json new file mode 100644 index 00000000..a82d5c32 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/6.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r7", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/60.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/60.000000.json new file mode 100644 index 00000000..1329f94a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/60.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r61", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.25, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "left 25rw top 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/61.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/61.000000.json new file mode 100644 index 00000000..32d3d69f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/61.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r62", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.25 + }, + "w": { + "rw": 0.15000000000000002, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "right 25rw top 25rh", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/62.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/62.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/62.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/7.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/7.000000.json new file mode 100644 index 00000000..50294839 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/7.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r8", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom left", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/8.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/8.000000.json new file mode 100644 index 00000000..27b70964 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/8.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r9", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bottom right", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/isd/9.000000.json b/src/test/resources/reference-files/imsc1_1/position003/isd/9.000000.json new file mode 100644 index 00000000..748ea4d4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/position003/isd/9.000000.json @@ -0,0 +1,191 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r10", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "center center", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/doc.json b/src/test/resources/reference-files/imsc1_1/ruby001/doc.json new file mode 100644 index 00000000..6ebe5f12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby001/doc.json @@ -0,0 +1,184 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html new file mode 100644 index 00000000..d10eb502 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby001/isd/0.000000.json new file mode 100644 index 00000000..8e7e1711 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby001/isd/0.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby001/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby001/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/doc.json b/src/test/resources/reference-files/imsc1_1/ruby002/doc.json new file mode 100644 index 00000000..aac12d8d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby002/doc.json @@ -0,0 +1,246 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "東南", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling rubyPosition": "before" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "とうなん", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling rubyPosition": "after" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "たつみ", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "の方角\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html new file mode 100644 index 00000000..7770f0cb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html @@ -0,0 +1,35 @@ +
+
+
+
+

+ + + +東南 + + + + + + + + + + + + + + + + + + + +の方角 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html new file mode 100644 index 00000000..39477cb5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby002/isd/0.000000.json new file mode 100644 index 00000000..afa6f436 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby002/isd/0.000000.json @@ -0,0 +1,464 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "東南", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling rubyPosition": "before", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "before", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "とうなん", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling rubyPosition": "after", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "after", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "たつみ", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "の方角", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby002/isd/1.000000.json new file mode 100644 index 00000000..1f86b6e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby002/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/doc.json b/src/test/resources/reference-files/imsc1_1/ruby003/doc.json new file mode 100644 index 00000000..6797d82b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby003/doc.json @@ -0,0 +1,218 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n Lorem ipsum\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n dolor sit amet\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html new file mode 100644 index 00000000..1e762ee3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +Lorem ipsum + +
+ + +利用許諾 + + + + + + + + + +
+ +dolor sit amet + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html new file mode 100644 index 00000000..02751e82 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby003/isd/0.000000.json new file mode 100644 index 00000000..4a7fa4ed --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby003/isd/0.000000.json @@ -0,0 +1,378 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Lorem ipsum", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "dolor sit amet ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby003/isd/1.000000.json new file mode 100644 index 00000000..244f670a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby003/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/doc.json b/src/test/resources/reference-files/imsc1_1/ruby004/doc.json new file mode 100644 index 00000000..2618f02e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby004/doc.json @@ -0,0 +1,212 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "delimiter" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "(", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "delimiter" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": ")", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html new file mode 100644 index 00000000..d10eb502 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby004/isd/0.000000.json new file mode 100644 index 00000000..48a2671e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby004/isd/0.000000.json @@ -0,0 +1,368 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "delimiter", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "(", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "delimiter", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": ")", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby004/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby004/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/doc.json b/src/test/resources/reference-files/imsc1_1/ruby005/doc.json new file mode 100644 index 00000000..eb94d12f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/doc.json @@ -0,0 +1,699 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 6.667, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "50% base font size", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "50% base font size", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 6.667, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "100% base font size", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 6.667, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "100% base font size", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 4, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 13.333, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 6.667, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "100% base font size", + "begin": 4, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "base base base", + "begin": 5, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 6.667, + "unit": "rh" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "100% base font size", + "begin": 5, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 5, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + } + ], + "lang": "en", + "begin": 0, + "end": 6 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html new file mode 100644 index 00000000..28c6b700 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html @@ -0,0 +1,39 @@ +
+
+
+
+

+ + + +base base base + + + + +5 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html new file mode 100644 index 00000000..76e8eaae --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html @@ -0,0 +1,35 @@ +
+
+
+
+

+ + +base base base + + +5 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html new file mode 100644 index 00000000..48f8c6dc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ + + +base base base + + + + +1 +0 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html new file mode 100644 index 00000000..67cb6be1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html @@ -0,0 +1,36 @@ +
+
+
+
+

+ + +base base base + + +1 +0 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html new file mode 100644 index 00000000..e87b455f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ + + +base base base + + + + +1 +0 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html new file mode 100644 index 00000000..befb7fa9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ + + +base base base + + + + +1 +0 +0 +% + +b +a +s +e + +f +o +n +t + +s +i +z +e + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html new file mode 100644 index 00000000..cd6d45b3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/0.000000.json new file mode 100644 index 00000000..74e2cf8b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/0.000000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.033335 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.033335 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "50% base font size", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/1.000000.json new file mode 100644 index 00000000..1cdac5ed --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/1.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.033335 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "50% base font size", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/2.000000.json new file mode 100644 index 00000000..1f975256 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/2.000000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.033335 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100% base font size", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/3.000000.json new file mode 100644 index 00000000..48de0f02 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/3.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100% base font size", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/4.000000.json new file mode 100644 index 00000000..b23c34e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/4.000000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.13333 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100% base font size", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/5.000000.json new file mode 100644 index 00000000..e174faaf --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/5.000000.json @@ -0,0 +1,335 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base base base", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100% base font size", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/ruby005/isd/6.000000.json new file mode 100644 index 00000000..1ac628a3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby005/isd/6.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.35 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/doc.json b/src/test/resources/reference-files/imsc1_1/ruby006/doc.json new file mode 100644 index 00000000..8cce6bba --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby006/doc.json @@ -0,0 +1,367 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "bottom", + "offset": { + "value": 10, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "r2": { + "id": "r2", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 10, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "single underline", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "single underline", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r2", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "ja", + "text": "single underline", + "begin": 0, + "end": "Infinity" + } + ], + "space": "preserve", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "preserve", + "lang": "ja", + "text": "single underline", + "begin": 0, + "end": "Infinity" + } + ], + "space": "preserve", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "preserve", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html new file mode 100644 index 00000000..9ac58a7b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html @@ -0,0 +1,75 @@ +
+
+
+
+

+ + + +single underline + + + + +s +i +n +g +l +e + +u +n +d +e +r +l +i +n +e + + + +

+
+
+
+
+
+
+

+ + + +single underline + + + + +s +i +n +g +l +e + +u +n +d +e +r +l +i +n +e + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html new file mode 100644 index 00000000..3ea033c9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/ruby006/isd/0.000000.json new file mode 100644 index 00000000..4ea00fbd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby006/isd/0.000000.json @@ -0,0 +1,712 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6299999999999999 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "single underline", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "single underline", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.07 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "single underline", + "space": "preserve" + } + ], + "space": "preserve" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "underline" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "single underline", + "space": "preserve" + } + ], + "space": "preserve" + } + ], + "space": "preserve" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/ruby006/isd/1.000000.json new file mode 100644 index 00000000..e7591981 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/ruby006/isd/1.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.6299999999999999 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "ja", + "id": "r2", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.07 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/doc.json b/src/test/resources/reference-files/imsc1_1/rubyAlign001/doc.json new file mode 100644 index 00000000..70d5883d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign001/doc.json @@ -0,0 +1,185 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html new file mode 100644 index 00000000..d10eb502 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/0.000000.json new file mode 100644 index 00000000..c05cd93f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/0.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign001/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/doc.json b/src/test/resources/reference-files/imsc1_1/rubyAlign002/doc.json new file mode 100644 index 00000000..a7a3b816 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign002/doc.json @@ -0,0 +1,185 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html new file mode 100644 index 00000000..3acda865 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/0.000000.json new file mode 100644 index 00000000..e683dabe --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/0.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign002/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/doc.json b/src/test/resources/reference-files/imsc1_1/rubyAlign003/doc.json new file mode 100644 index 00000000..6ebe5f12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign003/doc.json @@ -0,0 +1,184 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html new file mode 100644 index 00000000..d10eb502 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html @@ -0,0 +1,22 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/0.000000.json new file mode 100644 index 00000000..8e7e1711 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/0.000000.json @@ -0,0 +1,272 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign003/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/doc.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/doc.json new file mode 100644 index 00000000..dd394a55 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/doc.json @@ -0,0 +1,572 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 75, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": " tts:rubyAlign=\"spaceAround\"", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 75, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": " tts:rubyAlign=\"center\"", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + } + ], + "lang": "ja", + "begin": 0, + "end": 4 + } + ], + "lang": "ja", + "begin": 0, + "end": 4 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html new file mode 100644 index 00000000..d4141411 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html @@ -0,0 +1,32 @@ +
+
+
+
+

+ + + +利用許諾 + + + + + + + + + + + + +
+

+

+ +tts:rubyAlign="spaceAround" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html new file mode 100644 index 00000000..dde5fd12 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html @@ -0,0 +1,27 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+

+ +tts:rubyAlign="spaceAround" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html new file mode 100644 index 00000000..56089db8 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html @@ -0,0 +1,31 @@ +
+
+
+
+

+ + + +利用許諾 + + + + + + + + + + + + +

+

+ +tts:rubyAlign="spaceAround" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html new file mode 100644 index 00000000..cb33ff5a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html @@ -0,0 +1,31 @@ +
+
+
+
+

+ + + +利用許諾 + + + + + + + + + + + + +

+

+ +tts:rubyAlign="center" + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html new file mode 100644 index 00000000..34e4f1ef --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/0.000000.json new file mode 100644 index 00000000..c9407d09 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/0.000000.json @@ -0,0 +1,429 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:rubyAlign=\"spaceAround\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/1.000000.json new file mode 100644 index 00000000..13714f9b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/1.000000.json @@ -0,0 +1,361 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:rubyAlign=\"spaceAround\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/2.000000.json new file mode 100644 index 00000000..25cc2a87 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/2.000000.json @@ -0,0 +1,424 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:rubyAlign=\"spaceAround\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/3.000000.json new file mode 100644 index 00000000..57dbb6b9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/3.000000.json @@ -0,0 +1,424 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tts:rubyAlign=\"center\"", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/4.000000.json new file mode 100644 index 00000000..8417001d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyAlign004/isd/4.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/doc.json b/src/test/resources/reference-files/imsc1_1/rubyReserve001/doc.json new file mode 100644 index 00000000..433597a3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/doc.json @@ -0,0 +1,560 @@ +{ + "events": [ + 0, + 1, + 2 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "with-reserve": { + "id": "with-reserve", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + null + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ] + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "without-reserve": { + "id": "without-reserve", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 30, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ] + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "without-reserve", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n スペイン外人部隊の", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "歌", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "うた", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "です", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n 遠征でよく", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "歌", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "うた", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "いました \n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "with-reserve", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n スペイン外人部隊の", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "歌", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "うた", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "です", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n 遠征でよく", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "歌", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "うた", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "いました \n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "without-reserve", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n スペイン外人部隊の歌です", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "遠征でよく歌いました\n ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "with-reserve", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n スペイン外人部隊の歌です", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "遠征でよく歌いました\n ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 1, + "end": 2 + } + ], + "lang": "ja", + "begin": 0, + "end": 2 + } + ], + "lang": "ja", + "begin": 0, + "end": 2 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html new file mode 100644 index 00000000..3636c62e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html @@ -0,0 +1,88 @@ +
+
+
+
+

+ +スペイン外人部隊の + + + + + + + + + + + + + + + +です + +
+ +遠征でよく + + + + + + + + + + + + + + + +いました + +

+
+
+
+
+
+
+

+ +スペイン外人部隊の + + + + + + + + + + + +です + +
+ +遠征でよく + + + + + + + + + + + +いました + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html new file mode 100644 index 00000000..241daebb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html @@ -0,0 +1,40 @@ +
+
+
+
+

+ + + + + +スペイン外人部隊の歌です + +
+ + + + + +遠征でよく歌いました + +

+
+
+
+
+
+
+

+ +スペイン外人部隊の歌です + +
+ +遠征でよく歌いました + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html new file mode 100644 index 00000000..c058addb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html @@ -0,0 +1,6 @@ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/0.000000.json new file mode 100644 index 00000000..0e05c4eb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/0.000000.json @@ -0,0 +1,1193 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "with-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "スペイン外人部隊の", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "歌", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "うた", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "です", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "遠征でよく", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "歌", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "うた", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "いました", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "without-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "スペイン外人部隊の", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "歌", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "うた", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "です", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "遠征でよく", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "歌", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "うた", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "いました", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/1.000000.json new file mode 100644 index 00000000..0367a777 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/1.000000.json @@ -0,0 +1,485 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "with-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 128, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "スペイン外人部隊の歌です", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "遠征でよく歌いました ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "without-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "スペイン外人部隊の歌です", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "遠征でよく歌いました ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/2.000000.json new file mode 100644 index 00000000..0c9db45c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve001/isd/2.000000.json @@ -0,0 +1,128 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "with-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + }, + { + "kind": "region", + "lang": "ja", + "id": "without-reserve", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.006 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/doc.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/doc.json new file mode 100644 index 00000000..e4e486c1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/doc.json @@ -0,0 +1,865 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "top": { + "id": "top", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 46, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 2, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 46, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 52, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + null + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "top", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "default length", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "outside", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "value": 1, + "unit": "em" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "1em length", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "outside", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "value": 100, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "100% length", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "outside", + "begin": 1, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "value": 72, + "unit": "px" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "72px length", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "outside", + "begin": 2, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "value": 6.7, + "unit": "rh" + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "6.7rh length", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "rubyReserve", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "outside", + "begin": 3, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + } + ], + "lang": "en", + "begin": 0, + "end": 4 + } + ], + "lang": "en", + "begin": 0, + "end": 4 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": 1.7777777777777777, + "pxLength": { + "h": { + "rw": 0, + "rh": 0.000925925925925926 + }, + "w": { + "rw": 0.0005208333333333333, + "rh": 0 + } + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html new file mode 100644 index 00000000..c8aecc68 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html @@ -0,0 +1,102 @@ +
+
+
+
+

+ + + + + + +rubyReserve + + +d +e +f +a +u +l +t + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
+
+
+

+ + + + + + +rubyReserve + + +1 +e +m + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html new file mode 100644 index 00000000..470fdde9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html @@ -0,0 +1,103 @@ +
+
+
+
+

+ + + + + + +rubyReserve + + +d +e +f +a +u +l +t + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
+
+
+

+ + + + + + +rubyReserve + + +1 +0 +0 +% + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html new file mode 100644 index 00000000..c1b9ed85 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html @@ -0,0 +1,103 @@ +
+
+
+
+

+ + + + + + +rubyReserve + + +d +e +f +a +u +l +t + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
+
+
+

+ + + + + + +rubyReserve + + +7 +2 +p +x + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html new file mode 100644 index 00000000..278dcaeb --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html @@ -0,0 +1,104 @@ +
+
+
+
+

+ + + + + + +rubyReserve + + +d +e +f +a +u +l +t + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
+
+
+

+ + + + + + +rubyReserve + + +6 +. +7 +r +h + +l +e +n +g +t +h + + +
+ + + + + + +rubyReserve + + +o +u +t +s +i +d +e + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/0.000000.json new file mode 100644 index 00000000..0d4b7f2f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/0.000000.json @@ -0,0 +1,812 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.02 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "default length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.06666666666666667 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1em length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/1.000000.json new file mode 100644 index 00000000..06699ca3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/1.000000.json @@ -0,0 +1,812 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.02 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "default length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.06666666666666667 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "100% length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/2.000000.json new file mode 100644 index 00000000..99dad122 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/2.000000.json @@ -0,0 +1,812 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.02 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "default length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.06666666666666667 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "72px length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/3.000000.json new file mode 100644 index 00000000..3322cd80 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/3.000000.json @@ -0,0 +1,812 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "top", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.02 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "default length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.067 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "6.7rh length", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rubyReserve", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/4.000000.json new file mode 100644 index 00000000..b67b1475 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve002/isd/4.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": 1.7777777777777777, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/doc.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/doc.json new file mode 100644 index 00000000..cdb43dc9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/doc.json @@ -0,0 +1,437 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "bottom": { + "id": "bottom", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 46, + "unit": "%" + }, + "w": { + "value": 60, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 52, + "unit": "%" + }, + "w": { + "value": 30, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "left", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "value": 2, + "unit": "%" + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "outside", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + null + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n\n base\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "before", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "before", + null + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n\n\n base\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 1, + "end": 2 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "after", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "after", + null + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 2, + "end": 3 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "bottom", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "both", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "both", + null + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n base\n ", + "space": "default", + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 3, + "end": 4 + } + ], + "lang": "en", + "begin": 0, + "end": 4 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html new file mode 100644 index 00000000..773a8dd4 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +outside + +

+

+ + + + + +base + +
+ + + + + +base + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html new file mode 100644 index 00000000..2e7b8b3e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +before + +

+

+ + + + + +base + +
+ + + + + +base + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html new file mode 100644 index 00000000..d346a786 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html @@ -0,0 +1,30 @@ +
+
+
+
+

+ +after + +

+

+ + + + + +base + +
+ + + + + +base + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html new file mode 100644 index 00000000..4ba16560 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html @@ -0,0 +1,32 @@ +
+
+
+
+

+ +both + +

+

+ + + + + + +base + +
+ + + + + + +base + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/0.000000.json new file mode 100644 index 00000000..2b186308 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/0.000000.json @@ -0,0 +1,336 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "outside", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "outside", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/1.000000.json new file mode 100644 index 00000000..66fe018c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/1.000000.json @@ -0,0 +1,336 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "before", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "before", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/2.000000.json new file mode 100644 index 00000000..5e92d49f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/2.000000.json @@ -0,0 +1,336 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "after", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "after", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/3.000000.json new file mode 100644 index 00000000..0dde3976 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/3.000000.json @@ -0,0 +1,336 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "bottom", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.46 + }, + "w": { + "rw": 0.6, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.52 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + }, + { + "rw": 0, + "rh": 0.0092 + }, + { + "rw": 0.012, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "both", + "space": "default" + } + ] + }, + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "both", + { + "rw": 0, + "rh": 0.03333333333333333 + } + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "base ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/4.000000.json new file mode 100644 index 00000000..e436c9fa --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/rubyReserve003/isd/4.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/doc.json b/src/test/resources/reference-files/imsc1_1/shear001/doc.json new file mode 100644 index 00000000..f9ca8950 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/doc.json @@ -0,0 +1,910 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "horizontal": { + "id": "horizontal", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "", + "begin": 0, + "end": "Infinity" + }, + "vertical": { + "id": "vertical", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 55, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "", + "begin": 0, + "end": "Infinity" + }, + "caption": { + "id": "caption", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 75, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 20, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Positive shear", + "space": "default", + "lang": "", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 16.78842%\n ", + "space": "default", + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 16.78842%\n ", + "space": "default", + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "", + "begin": 0, + "end": 1 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Positive shear", + "space": "default", + "lang": "", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 50%\n ", + "space": "default", + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 50%\n ", + "space": "default", + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "", + "begin": 1, + "end": 2 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Positive shear", + "space": "default", + "lang": "", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 64.333, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 64.333%\n ", + "space": "default", + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 64.333, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n 64.333%\n ", + "space": "default", + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "", + "begin": 2, + "end": 3 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Negative shear", + "space": "default", + "lang": "", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -16.78842%\n ", + "space": "default", + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -16.78842%\n ", + "space": "default", + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "", + "begin": 3, + "end": 4 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Negative shear", + "space": "default", + "lang": "", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -50%\n ", + "space": "default", + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -50, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -50%\n ", + "space": "default", + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "", + "begin": 4, + "end": 5 + }, + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "caption", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "Negative shear", + "space": "default", + "lang": "", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -64.333, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -64.333%\n ", + "space": "default", + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": -64.333, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n -64.333%\n ", + "space": "default", + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三日坊主\n ", + "space": "default", + "lang": "", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "", + "begin": 5, + "end": 6 + } + ], + "lang": "", + "begin": 0, + "end": 6 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html new file mode 100644 index 00000000..51de9261 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +16.78842% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +16.78842% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Positive shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html new file mode 100644 index 00000000..332ae763 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +50% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +50% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Positive shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html new file mode 100644 index 00000000..dc916105 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +64.333% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +64.333% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Positive shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html new file mode 100644 index 00000000..d22207e6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +-16.78842% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +-16.78842% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Negative shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html new file mode 100644 index 00000000..d2ce3b8d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +-50% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +-50% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Negative shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html new file mode 100644 index 00000000..71099052 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html @@ -0,0 +1,43 @@ +
+
+
+
+

+ +-64.333% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +-64.333% + +
+ +三日坊主 + +

+
+
+
+
+
+
+

+ +Negative shear + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/0.000000.json new file mode 100644 index 00000000..dcc3ba35 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/0.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "16.78842%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "16.78842%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Positive shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/1.000000.json new file mode 100644 index 00000000..c1628c54 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/1.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 50, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "50%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 50, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "50%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Positive shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/2.000000.json new file mode 100644 index 00000000..7eadf49c --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/2.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 64.333, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "64.333%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 64.333, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "64.333%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Positive shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/3.000000.json new file mode 100644 index 00000000..40d003e2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/3.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-16.78842%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-16.78842%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Negative shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/4.000000.json new file mode 100644 index 00000000..b8d86d19 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/4.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -50, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-50%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -50, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-50%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Negative shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/5.000000.json new file mode 100644 index 00000000..2d3889a1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/5.000000.json @@ -0,0 +1,667 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -64.333, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-64.333%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": -64.333, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "-64.333%", + "space": "default" + }, + { + "kind": "br", + "lang": "", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三日坊主 ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "", + "id": "caption", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.75 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.2 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "Negative shear", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/shear001/isd/6.000000.json new file mode 100644 index 00000000..0168c6ec --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear001/isd/6.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/doc.json b/src/test/resources/reference-files/imsc1_1/shear002/doc.json new file mode 100644 index 00000000..c5d6ef55 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear002/doc.json @@ -0,0 +1,285 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "horizontal": { + "id": "horizontal", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 5, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "vertical": { + "id": "vertical", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 55, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 60, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "horizontal", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "利用許諾", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ライセンス", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 16.78842, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n あい", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "34", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三四\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html new file mode 100644 index 00000000..cc14c768 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html @@ -0,0 +1,37 @@ +
+
+
+
+

+ + +利用許諾 + + + + + + + + + +

+
+
+
+
+
+
+

+ +あい + +34 + +三四 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/shear002/isd/0.000000.json new file mode 100644 index 00000000..52ea936d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear002/isd/0.000000.json @@ -0,0 +1,553 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "horizontal", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.05, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "利用許諾", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.03333333333333333 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ライセンス", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.6 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": 16.78842, + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あい", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "34", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/shear002/isd/1.000000.json new file mode 100644 index 00000000..461add58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear002/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/doc.json b/src/test/resources/reference-files/imsc1_1/shear003/doc.json new file mode 100644 index 00000000..af607189 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear003/doc.json @@ -0,0 +1,351 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "vertical": { + "id": "vertical", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 5, + "unit": "%" + }, + "w": { + "value": 55, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 90, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling fontSize": { + "value": 150, + "unit": "%" + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling shear": { + "value": 16.67, + "unit": "%" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "vertical", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "山", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "やま", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "の\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "最多", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "1998", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "年", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ルビサンプル", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html new file mode 100644 index 00000000..8b951d05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html @@ -0,0 +1,50 @@ +
+
+
+
+

+ + + + + + + + + + + + + + + + +
+ + + + +最多 + +1998 + + + + + + + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/shear003/isd/0.000000.json new file mode 100644 index 00000000..bce0e339 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear003/isd/0.000000.json @@ -0,0 +1,725 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "vertical", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.05 + }, + "w": { + "rw": 0.55, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.9 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 16.67, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "start", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "山", + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "やま", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "の", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "container", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyAlign": "spaceAround", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "baseContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "base", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "最多", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "1998", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.1 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "年", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "textContainer", + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling ruby": "text", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.05 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyPosition": "outside", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ルビサンプル", + "space": "default" + } + ], + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/shear003/isd/1.000000.json new file mode 100644 index 00000000..461add58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/shear003/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/doc.json b/src/test/resources/reference-files/imsc1_1/textCombine001/doc.json new file mode 100644 index 00000000..17bde421 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine001/doc.json @@ -0,0 +1,259 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "tbrlLeft": { + "id": "tbrlLeft", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 20, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "tbrlRight": { + "id": "tbrlRight", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 20, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrlLeft", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "あい", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "AB34", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三四\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrlRight", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "あい", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "AB34", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三四\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html new file mode 100644 index 00000000..9bd143e3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html @@ -0,0 +1,34 @@ +
+
+
+
+

+ +あい + + +AB34 + + +三四 + +

+
+
+
+
+
+
+

+ +あい + +AB34 + +三四 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textCombine001/isd/0.000000.json new file mode 100644 index 00000000..548c8273 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine001/isd/0.000000.json @@ -0,0 +1,568 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tbrlLeft", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.18, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あい", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "AB34", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "tbrlRight", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.7200000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あい", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "AB34", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textCombine001/isd/1.000000.json new file mode 100644 index 00000000..461add58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine001/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/doc.json b/src/test/resources/reference-files/imsc1_1/textCombine002/doc.json new file mode 100644 index 00000000..f7b9c533 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine002/doc.json @@ -0,0 +1,287 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "tbrlLeft": { + "id": "tbrlLeft", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 20, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "tbrlRight": { + "id": "tbrlRight", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "right", + "offset": { + "value": 20, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrlLeft", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "あい", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "AB34", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "2nd", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三四\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrlRight", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "あい", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "AB34", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all" + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "2nd", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "三四\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html new file mode 100644 index 00000000..444ab9c6 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html @@ -0,0 +1,38 @@ +
+
+
+
+

+ +あい + + +AB34 + + +2nd + + +三四 + +

+
+
+
+
+
+
+

+ +あい + +AB34 +2nd + +三四 + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textCombine002/isd/0.000000.json new file mode 100644 index 00000000..9507ea73 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine002/isd/0.000000.json @@ -0,0 +1,664 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tbrlLeft", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.18, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あい", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "AB34", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2nd", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + }, + { + "kind": "region", + "lang": "ja", + "id": "tbrlRight", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.7200000000000001, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "あい", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "AB34", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textCombine": "all", + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "2nd", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "三四", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textCombine002/isd/1.000000.json new file mode 100644 index 00000000..461add58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textCombine002/isd/1.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/doc.json b/src/test/resources/reference-files/imsc1_1/textEmphasis001/doc.json new file mode 100644 index 00000000..360e1bfd --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis001/doc.json @@ -0,0 +1,485 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "花", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "よ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "り", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "だ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ん", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ご", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "花", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "よ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "り", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "だ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ん", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "ご", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html new file mode 100644 index 00000000..35abda10 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html @@ -0,0 +1,77 @@ +
+
+
+
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html new file mode 100644 index 00000000..9e4fbd95 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/0.000000.json new file mode 100644 index 00000000..d056bd54 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/0.000000.json @@ -0,0 +1,1204 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "花", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "よ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "り", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "だ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ん", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ご", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "花", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "よ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "り", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "だ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ん", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": " ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "open", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "ご", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/1.000000.json new file mode 100644 index 00000000..a0429c21 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis001/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/doc.json b/src/test/resources/reference-files/imsc1_1/textEmphasis002/doc.json new file mode 100644 index 00000000..833f81ad --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis002/doc.json @@ -0,0 +1,182 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 40, + "unit": "%" + } + } + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "hello ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "fr", + "text": "bonjour", + "begin": 0, + "end": "Infinity" + } + ], + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + } + ], + "lang": "en", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html new file mode 100644 index 00000000..8af20f89 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html @@ -0,0 +1,18 @@ +
+
+
+
+

+ + +hello + + +bonjour + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html new file mode 100644 index 00000000..f521ca7d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/0.000000.json new file mode 100644 index 00000000..75624437 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/0.000000.json @@ -0,0 +1,288 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "hello ", + "space": "default" + }, + { + "kind": "span", + "lang": "fr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "bonjour", + "space": "default" + } + ], + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/1.000000.json new file mode 100644 index 00000000..8c9472f5 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis002/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.3, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/doc.json b/src/test/resources/reference-files/imsc1_1/textEmphasis003/doc.json new file mode 100644 index 00000000..147eb9f2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis003/doc.json @@ -0,0 +1,282 @@ +{ + "events": [ + 0, + 1 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r1": { + "id": "r1", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 40, + "unit": "%" + }, + "w": { + "value": 20, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl" + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r1", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "花", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "よ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "り", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "花", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "よ", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "り", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html new file mode 100644 index 00000000..afd5fa38 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html @@ -0,0 +1,29 @@ +
+
+
+
+

+ + + + + + + + + +
+ + + + + + + + + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html new file mode 100644 index 00000000..69a0d316 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html @@ -0,0 +1,4 @@ +
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/0.000000.json new file mode 100644 index 00000000..707325ee --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/0.000000.json @@ -0,0 +1,436 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "花", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "よ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "り", + "space": "default" + }, + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "花", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "dot", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "よ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "sesame", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "り", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/1.000000.json new file mode 100644 index 00000000..e70056e0 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis003/isd/1.000000.json @@ -0,0 +1,67 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "r1", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.3 + }, + "w": { + "rw": 0.4, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.4 + }, + "w": { + "rw": 0.2, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/doc.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/doc.json new file mode 100644 index 00000000..74fb64c3 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/doc.json @@ -0,0 +1,718 @@ +{ + "events": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "tbrl": { + "id": "tbrl", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "tblr": { + "id": "tblr", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "lrtb": { + "id": "lrtb", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + "rltb": { + "id": "rltb", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "edge": "left", + "offset": { + "value": 50, + "unit": "%" + } + }, + "v": { + "edge": "top", + "offset": { + "value": 50, + "unit": "%" + } + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + } + }, + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrl", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n tbrl ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "before", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 0, + "end": 1 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tbrl", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tbrl ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "after", + "begin": 1, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 1, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 1, + "end": 2 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tblr", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n tblr ", + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "before", + "begin": 2, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 2, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 2, + "end": 3 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "tblr", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n tblr ", + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "after", + "begin": 3, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 3, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 3, + "end": 4 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "lrtb", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n lrtb ", + "space": "default", + "lang": "ja", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "before", + "begin": 4, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 4, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 4, + "end": 5 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "lrtb", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n lrtb ", + "space": "default", + "lang": "ja", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "after", + "begin": 5, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 5, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 5, + "end": 6 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "rltb", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "ja", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n rltb ", + "space": "default", + "lang": "ja", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "before", + "begin": 6, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 6, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 6, + "end": 7 + }, + { + "kind": "p", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "rltb", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n rltb ", + "space": "default", + "lang": "ja", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + } + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "ja", + "text": "after", + "begin": 7, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "ja", + "begin": 7, + "end": "Infinity" + } + ], + "lang": "ja", + "begin": 7, + "end": 8 + } + ], + "lang": "ja", + "begin": 0, + "end": 8 + } + ], + "lang": "ja", + "begin": 0, + "end": 8 + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html new file mode 100644 index 00000000..0c061bf1 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+
+ +tbrl + + +before + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html new file mode 100644 index 00000000..4a722236 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +tbrl + + +after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html new file mode 100644 index 00000000..31d74b79 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+
+ +tblr + + +before + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html new file mode 100644 index 00000000..26f7e5e9 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +tblr + + +after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html new file mode 100644 index 00000000..333d7f6b --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+
+ +lrtb + + +before + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html new file mode 100644 index 00000000..01f9d0ac --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +lrtb + + +after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html new file mode 100644 index 00000000..573fbb91 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html @@ -0,0 +1,17 @@ +
+
+
+
+

+
+ +rltb + + +before + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html new file mode 100644 index 00000000..60705d05 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html @@ -0,0 +1,16 @@ +
+
+
+
+

+ +rltb + + +after + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html new file mode 100644 index 00000000..f5bc0d3a --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/0.000000.json new file mode 100644 index 00000000..561e0125 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/0.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tbrl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tbrl ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/1.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/1.000000.json new file mode 100644 index 00000000..6a17084d --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/1.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tbrl", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tbrl", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tbrl ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/2.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/2.000000.json new file mode 100644 index 00000000..8dff2cbc --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/2.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tblr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tblr ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/3.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/3.000000.json new file mode 100644 index 00000000..06f8bd94 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/3.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "tblr", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "tblr", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "tblr ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/4.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/4.000000.json new file mode 100644 index 00000000..23a91c1f --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/4.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "lrtb", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lrtb ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/5.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/5.000000.json new file mode 100644 index 00000000..2880021e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/5.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "lrtb", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "lrtb ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/6.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/6.000000.json new file mode 100644 index 00000000..4e232f53 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/6.000000.json @@ -0,0 +1,244 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "rltb", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "br", + "lang": "ja", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rltb ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "before" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "before", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/7.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/7.000000.json new file mode 100644 index 00000000..8ca2a6d2 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/7.000000.json @@ -0,0 +1,239 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "ja", + "id": "rltb", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling writingMode": "rltb", + "http://www.w3.org/ns/ttml#styling displayAlign": "center", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling position": { + "h": { + "rw": 0, + "rh": 0.09999999999999998 + }, + "w": { + "rw": 0.09999999999999998, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling showBackground": "whenActive", + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": "normal", + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "rltb ", + "space": "default" + }, + { + "kind": "span", + "lang": "ja", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "filled", + "symbol": "circle", + "color": "current", + "position": "after" + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "rtl", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "after", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/8.000000.json b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/8.000000.json new file mode 100644 index 00000000..461add58 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textEmphasis004/isd/8.000000.json @@ -0,0 +1,5 @@ +{ + "contents": [], + "aspectRatio": null, + "lang": "ja" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textShadow001/doc.json b/src/test/resources/reference-files/imsc1_1/textShadow001/doc.json new file mode 100644 index 00000000..862b7a1e --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textShadow001/doc.json @@ -0,0 +1,197 @@ +{ + "events": [ + 0 + ], + "head": { + "styling": { + "initials": {} + }, + "layout": { + "regions": { + "r": { + "id": "r", + "timeContainer": "par", + "sets": [], + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "value": 80, + "unit": "%" + }, + "w": { + "value": 80, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "value": 10, + "unit": "%" + }, + "w": { + "value": 10, + "unit": "%" + } + }, + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling lineHeight": { + "value": 125, + "unit": "%" + }, + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling displayAlign": "before" + }, + "lang": "en", + "begin": 0, + "end": "Infinity" + } + } + } + }, + "body": { + "kind": "body", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "r", + "contents": [ + { + "kind": "div", + "styleAttrs": {}, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "p", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "contents": [ + { + "kind": "span", + "timeContainer": "par", + "text": "\n I serve it with greens in those \n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textShadow": [ + [ + { + "value": 10, + "unit": "%" + }, + { + "value": -20, + "unit": "%" + }, + { + "value": 5, + "unit": "%" + }, + [ + 0, + 255, + 0, + 255 + ] + ] + ] + }, + "timeContainer": "par", + "sets": [], + "regionID": "", + "space": "default", + "lang": "en", + "text": "shadowy scenes,", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "br", + "regionID": "", + "timeContainer": "par", + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + { + "kind": "span", + "timeContainer": "par", + "text": "\n And I use it for striking a light:\n ", + "space": "default", + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + } + ], + "lang": "en", + "begin": 0, + "end": "Infinity" + }, + "cellLength": { + "h": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "w": { + "rw": 0.03125, + "rh": 0 + } + }, + "effectiveFrameRate": 30, + "tickRate": 1, + "aspectRatio": null, + "pxLength": { + "h": null, + "w": null + }, + "dimensions": { + "h": { + "rw": 0, + "rh": 1 + }, + "w": { + "rw": 1, + "rh": 0 + } + }, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html new file mode 100644 index 00000000..ee333c41 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html @@ -0,0 +1,20 @@ +
+
+
+
+

+ +I serve it with greens in those + + +shadowy scenes, + +
+ +And I use it for striking a light: + +

+
+
+
+
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textShadow001/isd/0.000000.json b/src/test/resources/reference-files/imsc1_1/textShadow001/isd/0.000000.json new file mode 100644 index 00000000..ab10d518 --- /dev/null +++ b/src/test/resources/reference-files/imsc1_1/textShadow001/isd/0.000000.json @@ -0,0 +1,316 @@ +{ + "contents": [ + { + "kind": "region", + "lang": "en", + "id": "r", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling extent": { + "h": { + "rw": 0, + "rh": 0.8 + }, + "w": { + "rw": 0.8, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling origin": { + "h": { + "rw": 0, + "rh": 0.1 + }, + "w": { + "rw": 0.1, + "rh": 0 + } + }, + "http://www.w3.org/ns/ttml#styling displayAlign": "before", + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling opacity": 1, + "http://www.w3.org/ns/ttml#styling overflow": "hidden", + "http://www.w3.org/ns/ttml#styling padding": [ + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + }, + { + "rw": 0, + "rh": 0 + } + ], + "http://www.w3.org/ns/ttml#styling showBackground": "always", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling writingMode": "lrtb", + "http://www.w3.org/ns/ttml#styling zIndex": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false + }, + "contents": [ + { + "kind": "body", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "div", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto" + }, + "contents": [ + { + "kind": "p", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling shear": 0, + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling lineHeight": { + "rw": 0, + "rh": 0.08333333333333334 + }, + "http://www.w3.org/ns/ttml#styling rubyReserve": [ + "none", + null + ], + "http://www.w3.org/ns/ttml#styling textAlign": "center", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "urn:ebu:tt:style linePadding": { + "rw": 0, + "rh": 0 + }, + "urn:ebu:tt:style multiRowAlign": "auto", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml/profile/imsc1#styling fillLineGap": false, + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "contents": [ + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "I serve it with greens in those ", + "space": "default" + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling textShadow": [ + { + "x_off": { + "rw": 0, + "rh": 0.006666666666666666 + }, + "y_off": { + "rw": 0, + "rh": -0.013333333333333332 + }, + "b_radius": { + "rw": 0, + "rh": 0.003333333333333333 + }, + "color": [ + 0, + 255, + 0, + 255 + ] + } + ], + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "shadowy scenes,", + "space": "default" + }, + { + "kind": "br", + "lang": "en", + "styleAttrs": {} + }, + { + "kind": "span", + "lang": "en", + "styleAttrs": { + "http://www.w3.org/ns/ttml#styling color": [ + 255, + 255, + 255, + 255 + ], + "http://www.w3.org/ns/ttml#styling direction": "ltr", + "http://www.w3.org/ns/ttml#styling fontFamily": [ + "monospaceSerif" + ], + "http://www.w3.org/ns/ttml#styling fontSize": { + "rw": 0, + "rh": 0.06666666666666667 + }, + "http://www.w3.org/ns/ttml#styling fontStyle": "normal", + "http://www.w3.org/ns/ttml#styling fontWeight": "normal", + "http://www.w3.org/ns/ttml#styling textCombine": "none", + "http://www.w3.org/ns/ttml#styling textDecoration": [ + "none" + ], + "http://www.w3.org/ns/ttml#styling textEmphasis": { + "style": "none", + "symbol": "circle", + "color": "current", + "position": "outside" + }, + "http://www.w3.org/ns/ttml#styling textOutline": "none", + "http://www.w3.org/ns/ttml#styling textShadow": "none", + "http://www.w3.org/ns/ttml#styling visibility": "visible", + "http://www.w3.org/ns/ttml#styling wrapOption": "wrap", + "http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay": false, + "http://www.w3.org/ns/ttml#styling backgroundColor": [ + 0, + 0, + 0, + 0 + ], + "http://www.w3.org/ns/ttml#styling display": "auto", + "http://www.w3.org/ns/ttml#styling ruby": "none", + "http://www.w3.org/ns/ttml#styling unicodeBidi": "normal" + }, + "text": "And I use it for striking a light: ", + "space": "default" + } + ] + } + ] + } + ] + } + ] + } + ], + "aspectRatio": null, + "lang": "en" +} \ No newline at end of file diff --git a/src/test/webapp/js/gen-renders.js b/src/test/webapp/js/gen-renders.js index 4db592fd..33f123cd 100644 --- a/src/test/webapp/js/gen-renders.js +++ b/src/test/webapp/js/gen-renders.js @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2016, Pierre-Anthony Lemieux * All rights reserved. * @@ -25,7 +25,7 @@ */ -var errorHandler = { +const errorHandler = { info: function (msg) { console.log("info: " + msg); return false; @@ -46,7 +46,7 @@ var errorHandler = { async function asyncLoadFile(url) { - var response = await fetch(url); + const response = await fetch(url); if (!response.ok) { throw { @@ -80,29 +80,53 @@ function filenameFromOffset(offset) { async function generateRenders(reffiles_root) { - var zip = new JSZip(); + const zip = new JSZip(); - var renders_dir = zip.folder('generated'); - var pngs_dir = zip.folder('png'); + const renders_dir = zip.folder('generated'); + const pngs_dir = zip.folder('png'); - var contents = await asyncLoadFile(getTestListPath(reffiles_root)); + const contents = await asyncLoadFile(getTestListPath(reffiles_root)); - finfos = JSON.parse(contents); + const finfos = JSON.parse(contents); - var p = []; + const p = []; - for (var i in finfos) { + for (const finfo of finfos) { - p.push(asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfos[i])); + p.push(renderTTMLFile(reffiles_root, finfo)); } - var output = await Promise.all(p); + const renders = await Promise.all(p); - var manifest = {}; + /* write the JSON document, ISD documents, HTML documents and PNGs */ + + const manifest = {}; + + for (const renderedFile of renders) { + + const test_renders_dir = renders_dir.folder(renderedFile.name); + const test_pngs_dir = pngs_dir.folder(renderedFile.name); + + test_renders_dir.file("doc.json", JSON.stringify(renderedFile.doc, customReplace, 2)); + + const isd_dir = test_renders_dir.folder('isd'); + const html_dir = test_renders_dir.folder('html'); + + const event_names = []; + + for (const event of renderedFile.events) { + + isd_dir.file(event.name + ".json", JSON.stringify(event.isd, customReplace, 2)); + html_dir.file(event.name + ".html", event.html); + test_pngs_dir.file(event.name + ".png", event.png, {base64: true}); + + event_names.push(event.name); + + } + + manifest[renderedFile.name] = event_names; - for (var j in output) { - manifest[output[j].name] = output[j].events; } renders_dir.file("file-list.json", JSON.stringify(manifest, customReplace, 2)); @@ -112,46 +136,90 @@ async function generateRenders(reffiles_root) { async function generateAndDownloadRenders(reffiles_root) { - let zipfile = await generateRenders(reffiles_root); + const zipfile = await generateRenders(reffiles_root); return saveAs(zipfile, "renders.zip"); } +/** + * Parses the test files at reffiles_root and generates the JSON document, + * ISD documents and HTML documents for each of their media time events (no + * PNGs), returning a flat map of relative file path to file contents rather + * than writing any files or zipping anything. + */ +async function generateReferenceFiles(reffiles_root) { -async function asyncProcessRefFile(reffiles_root, renders_dir, pngs_dir, finfo) { + const contents = await asyncLoadFile(getTestListPath(reffiles_root)); - var test_name = finfo.name || getTestName(finfo.path, finfo.params || {}); + const finfos = JSON.parse(contents); - var test_renders_dir = renders_dir.folder(test_name); - var test_pngs_dir = pngs_dir.folder(test_name); + const p = []; - var contents = await asyncLoadFile(getReferenceFilePath(reffiles_root, finfo.path)); + for (const finfo of finfos) { - var doc = imsc.fromXML(contents.replace(/\r\n/g, '\n'), errorHandler); + p.push(renderTTMLFile(reffiles_root, finfo, false)); - test_renders_dir.file("doc.json", - JSON.stringify( - doc, - customReplace, - 2 - ) - ); + } + + const renders = await Promise.all(p); + + const files = {}; + const manifest = {}; + + for (const renderedFile of renders) { + + files[renderedFile.name + "/doc.json"] = JSON.stringify(renderedFile.doc, customReplace, 2); + + const event_names = []; + + for (const event of renderedFile.events) { + + files[renderedFile.name + "/isd/" + event.name + ".json"] = JSON.stringify(event.isd, customReplace, 2); + files[renderedFile.name + "/html/" + event.name + ".html"] = event.html; + + event_names.push(event.name); + + } - var events = doc.getMediaTimeEvents(); + manifest[renderedFile.name] = event_names; - var p = []; + } + + files["file-list.json"] = JSON.stringify(manifest, customReplace, 2); + + return files; +} + +/** + * Parses a reference file and generates the JSON document, ISD documents, + * HTML documents and (unless generatePng is false) PNGs for each of its + * media time events, returning them all as a plain JSON structure rather + * than writing any files. + */ +async function renderTTMLFile(reffiles_root, finfo, generatePng = true) { - for (var i in events) { + const test_name = finfo.name || getTestName(finfo.path, finfo.params || {}); - p.push(asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, events[i], finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path))); + const contents = await asyncLoadFile(getReferenceFilePath(reffiles_root, finfo.path)); + + const doc = imsc.fromXML(contents.replace(/\r\n/g, '\n'), errorHandler); + + const events = doc.getMediaTimeEvents(); + + const p = []; + + for (const offset of events) { + + p.push(renderISD(doc, offset, finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path), generatePng)); } - var processedEvents = await Promise.all(p); + const processedEvents = await Promise.all(p); return { 'name': test_name, + 'doc': doc, 'events': processedEvents }; } @@ -161,15 +229,18 @@ function customReplace(k, v) { return v; } +/** + * Renders a single media time event and returns its ISD, HTML and PNG as a + * plain JSON structure rather than writing any files. + */ +async function renderISD(doc, offset, params, reffile_dir, generatePng = true) { -async function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, params, reffile_dir) { - - var name = filenameFromOffset(offset); + const name = filenameFromOffset(offset); - var exp_width = 640; - var exp_height = 360; + const exp_width = 640; + const exp_height = 360; - var vdiv = document.getElementById('render-div'); + const vdiv = document.getElementById('render-div'); vdiv.style.height = exp_height + "px"; vdiv.style.width = exp_width + "px"; @@ -180,12 +251,12 @@ async function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, p /* create svg container */ - var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); svg.setAttribute('width', exp_width + "px"); svg.setAttribute('height', exp_height + "px"); svg.setAttribute("xmlns", svg.namespaceURI); - fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); + const fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); fo.setAttribute('width', '100%'); fo.setAttribute('height', '100%'); @@ -193,41 +264,35 @@ async function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, p /* create container div */ - var rdiv = document.createElement("div"); + const rdiv = document.createElement("div"); rdiv.style.height = "100%"; rdiv.style.width = "100%"; rdiv.style.position = "relative"; rdiv.style.background = "#A9A9A9"; - + fo.appendChild(rdiv); vdiv.appendChild(svg); - - var isd = imsc.generateISD(doc, offset); - - /* write isd */ - - var isd_dir = test_renders_dir.folder('isd'); - isd_dir.file(name + ".json", JSON.stringify(isd, customReplace, 2)); + const isd = imsc.generateISD(doc, offset); - /* write PNG */ + /* resolve images referenced by the ISD so they are embedded in the HTML */ - var imgs = []; + const imgs = []; - var imgr = function (uri, img) { - var p = (async function () { + const imgr = function (uri, img) { + const p = (async function () { - var url = await new Promise(function (resolve) { + const url = await new Promise(function (resolve) { - var png = new Image(); + const png = new Image(); png.onload = function () { - var canvas = document.createElement('canvas'); + const canvas = document.createElement('canvas'); canvas.width = this.naturalWidth; canvas.height = this.naturalHeight; - var ctx = canvas.getContext('2d'); + const ctx = canvas.getContext('2d'); ctx.drawImage(this, 0, 0); @@ -262,41 +327,46 @@ async function asyncProcessEvent(doc, test_renders_dir, test_pngs_dir, offset, p await Promise.all(imgs); - /* save the HTML */ + const html = rdiv.innerHTML.replace(/>\n<"); - var html_dir = test_renders_dir.folder('html'); + let png = null; - html_dir.file(name + ".html", rdiv.innerHTML.replace(/>\n<")); + if (generatePng) { - /* create PNG render */ + /* create PNG render */ - var svgser = (new XMLSerializer).serializeToString(svg); + const svgser = (new XMLSerializer).serializeToString(svg); - var canvas = document.createElement("canvas"); + const canvas = document.createElement("canvas"); - var ctx = canvas.getContext('2d'); - ctx.canvas.height = exp_height; - ctx.canvas.width = exp_width; + const ctx = canvas.getContext('2d'); + ctx.canvas.height = exp_height; + ctx.canvas.width = exp_width; - var url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); + const url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); - return new Promise(function (resolve) { + png = await new Promise(function (resolve) { - var img = new Image(); - img.onload = function () { - ctx.drawImage(img, 0, 0); + const img = new Image(); + img.onload = function () { + ctx.drawImage(img, 0, 0); - var data = canvas.toDataURL("image/png"); + const data = canvas.toDataURL("image/png"); - test_pngs_dir.file(name + ".png", data.substr(data.indexOf(',') + 1), {base64: true}); + resolve(data.substr(data.indexOf(',') + 1)); + }; - resolve(name); - }; - - img.src = url; + img.src = url; - }); + }); -} + } + return { + 'name': name, + 'isd': isd, + 'html': html, + 'png': png + }; +} From 3b5cfed319c956aba6c9d0a2e76ade5ecfd88464 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 17:04:20 -0700 Subject: [PATCH 04/10] Move test scripts under src/test --- eslint.config.js | 2 +- package.json | 6 +++--- {script => src/test/script}/gen-reference-files.mjs | 4 ++-- {script => src/test/script}/gen-renders.mjs | 2 +- {script => src/test/script}/lib/gen-renders-page.mjs | 2 +- {script => src/test/script}/png-diff.sh | 0 {script => src/test/script}/refpngcompare.py | 0 7 files changed, 8 insertions(+), 8 deletions(-) rename {script => src/test/script}/gen-reference-files.mjs (92%) rename {script => src/test/script}/gen-renders.mjs (93%) rename {script => src/test/script}/lib/gen-renders-page.mjs (96%) rename {script => src/test/script}/png-diff.sh (100%) rename {script => src/test/script}/refpngcompare.py (100%) diff --git a/eslint.config.js b/eslint.config.js index 951c63f2..54f53d1d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -29,7 +29,7 @@ export default [ }, }, { - files: ["script/**/*"], + files: ["src/test/script/**/*"], languageOptions: { globals: { ...globals.node, diff --git a/package.json b/package.json index b689a63b..98297bfb 100644 --- a/package.json +++ b/package.json @@ -48,9 +48,9 @@ "scripts": { "prepublishOnly": "grunt build:release", "dev": "npx http-server build/public_html", - "gen-imsc1": "node script/gen-renders.mjs imsc-tests/imsc1 build/renders-imsc1.zip --browser=firefox ", - "gen-imsc1_1": "node script/gen-renders.mjs imsc-tests/imsc1_1 build/renders-imsc1_1.zip --browser=firefox ", - "gen-reference-files": "node script/gen-reference-files.mjs --browser=firefox", + "gen-imsc1": "node src/test/script/gen-renders.mjs imsc-tests/imsc1 build/renders-imsc1.zip --browser=firefox ", + "gen-imsc1_1": "node src/test/script/gen-renders.mjs imsc-tests/imsc1_1 build/renders-imsc1_1.zip --browser=firefox ", + "gen-reference-files": "node src/test/script/gen-reference-files.mjs --browser=firefox", "install:firefox": "puppeteer browsers install firefox", "lint": "eslint .", "fix": "eslint --fix src", diff --git a/script/gen-reference-files.mjs b/src/test/script/gen-reference-files.mjs similarity index 92% rename from script/gen-reference-files.mjs rename to src/test/script/gen-reference-files.mjs index 1ee666aa..7629aea8 100644 --- a/script/gen-reference-files.mjs +++ b/src/test/script/gen-reference-files.mjs @@ -7,7 +7,7 @@ * writing them to src/test/resources/reference-files//. * * Usage: - * node script/gen-reference-files.mjs [--browser=chrome|firefox] + * node src/test/script/gen-reference-files.mjs [--browser=chrome|firefox] */ import fs from "node:fs"; @@ -16,7 +16,7 @@ import { fileURLToPath } from "node:url"; import { withGenRendersPage } from "./lib/gen-renders-page.mjs"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const OUTPUT_ROOT = path.resolve(__dirname, "..", "src", "test", "resources", "reference-files"); +const OUTPUT_ROOT = path.resolve(__dirname, "..", "resources", "reference-files"); const REFFILES_ROOTS = ["imsc-tests/imsc1", "imsc-tests/imsc1_1"]; diff --git a/script/gen-renders.mjs b/src/test/script/gen-renders.mjs similarity index 93% rename from script/gen-renders.mjs rename to src/test/script/gen-renders.mjs index 282f920a..b9edeb9e 100644 --- a/script/gen-renders.mjs +++ b/src/test/script/gen-renders.mjs @@ -9,7 +9,7 @@ * in-page to get the renders.zip Blob directly, and writes it to disk. * * Usage: - * node script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] + * node src/test/script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] */ import fs from "node:fs"; diff --git a/script/lib/gen-renders-page.mjs b/src/test/script/lib/gen-renders-page.mjs similarity index 96% rename from script/lib/gen-renders-page.mjs rename to src/test/script/lib/gen-renders-page.mjs index 346025e4..f2be1631 100644 --- a/script/lib/gen-renders-page.mjs +++ b/src/test/script/lib/gen-renders-page.mjs @@ -12,7 +12,7 @@ import { fileURLToPath } from "node:url"; import puppeteer from "puppeteer"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -export const PUBLIC_DIR = path.resolve(__dirname, "..", "..", "build", "public_html"); +export const PUBLIC_DIR = path.resolve(__dirname, "..", "..", "..", "..", "build", "public_html"); const MIME_TYPES = { ".html": "text/html", diff --git a/script/png-diff.sh b/src/test/script/png-diff.sh similarity index 100% rename from script/png-diff.sh rename to src/test/script/png-diff.sh diff --git a/script/refpngcompare.py b/src/test/script/refpngcompare.py similarity index 100% rename from script/refpngcompare.py rename to src/test/script/refpngcompare.py From b675b58c4dbd8da900b41514350859942e64a203 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 17:17:52 -0700 Subject: [PATCH 05/10] Remove HTML reference files --- .github/workflows/ci.pr.yml | 3 + src/test/js/GenerateReferenceFilesTest.js | 68 +++++++ .../imsc1/ActiveArea001/html/0.000000.html | 35 ---- .../imsc1/ActiveArea001/html/6.000000.html | 8 - .../imsc1/Animation001/html/0.000000.html | 14 -- .../imsc1/Animation001/html/10.000000.html | 4 - .../imsc1/Animation001/html/20.000000.html | 4 - .../imsc1/Animation001/html/5.000000.html | 14 -- .../imsc1/Animation002/html/0.000000.html | 14 -- .../imsc1/Animation002/html/10.000000.html | 4 - .../imsc1/Animation002/html/20.000000.html | 4 - .../imsc1/Animation002/html/5.000000.html | 14 -- .../imsc1/Animation003/html/0.000000.html | 4 - .../imsc1/Animation003/html/10.000000.html | 4 - .../imsc1/Animation003/html/20.000000.html | 4 - .../imsc1/Animation003/html/5.000000.html | 14 -- .../imsc1/Animation004/html/0.000000.html | 14 -- .../imsc1/Animation004/html/10.000000.html | 4 - .../imsc1/Animation004/html/20.000000.html | 4 - .../imsc1/Animation004/html/5.000000.html | 14 -- .../imsc1/Animation007/html/0.000000.html | 14 -- .../imsc1/Animation007/html/10.000000.html | 4 - .../imsc1/Animation007/html/20.000000.html | 4 - .../imsc1/Animation007/html/5.000000.html | 14 -- .../imsc1/Animation008/html/0.000000.html | 17 -- .../imsc1/Animation008/html/10.000000.html | 4 - .../imsc1/Animation008/html/20.000000.html | 4 - .../imsc1/Animation008/html/5.000000.html | 17 -- .../imsc1/Animation012/html/0.000000.html | 14 -- .../imsc1/Animation012/html/10.000000.html | 14 -- .../imsc1/Animation012/html/16.000000.html | 14 -- .../imsc1/Animation012/html/20.000000.html | 4 - .../imsc1/Animation012/html/5.000000.html | 14 -- .../imsc1/Animation013/html/0.000000.html | 14 -- .../imsc1/Animation013/html/10.000000.html | 4 - .../imsc1/Animation013/html/2.000000.html | 14 -- .../imsc1/Animation013/html/20.000000.html | 4 - .../imsc1/Animation013/html/4.000000.html | 14 -- .../imsc1/Animation013/html/6.000000.html | 14 -- .../imsc1/Animation014/html/0.000000.html | 14 -- .../imsc1/Animation014/html/10.000000.html | 4 - .../imsc1/Animation014/html/20.000000.html | 4 - .../imsc1/Animation014/html/5.000000.html | 14 -- .../imsc1/Animation015/html/0.000000.html | 14 -- .../imsc1/Animation015/html/10.000000.html | 4 - .../imsc1/Animation015/html/3.000000.html | 14 -- .../imsc1/Animation015/html/8.000000.html | 14 -- .../imsc1/Animation016/html/0.000000.html | 13 -- .../imsc1/Animation016/html/10.000000.html | 4 - .../imsc1/Animation016/html/3.000000.html | 19 -- .../imsc1/Animation016/html/8.000000.html | 13 -- .../imsc1/Animation017/html/0.000000.html | 24 --- .../imsc1/Animation017/html/10.000000.html | 2 - .../imsc1/Animation017/html/5.000000.html | 24 --- .../imsc1/Animation018/html/0.000000.html | 14 -- .../imsc1/Animation018/html/10.000000.html | 4 - .../imsc1/Animation018/html/5.000000.html | 14 -- .../BackgroundColor001/html/0.000000.html | 13 -- .../BackgroundColor001/html/10.000000.html | 4 - .../BackgroundColor002/html/0.000000.html | 13 -- .../BackgroundColor002/html/10.000000.html | 4 - .../BackgroundColor003/html/0.000000.html | 16 -- .../BackgroundColor003/html/10.000000.html | 4 - .../BackgroundColor004/html/0.000000.html | 13 -- .../BackgroundColor004/html/10.000000.html | 4 - .../BackgroundColor005/html/0.000000.html | 17 -- .../BackgroundColor005/html/10.000000.html | 4 - .../BackgroundColor006/html/0.000000.html | 13 -- .../BackgroundColor006/html/10.000000.html | 4 - .../BackgroundColor007/html/0.000000.html | 13 -- .../BackgroundColor007/html/10.000000.html | 4 - .../BackgroundColor008/html/0.000000.html | 13 -- .../BackgroundColor008/html/10.000000.html | 4 - .../BackgroundColor009/html/0.000000.html | 13 -- .../BackgroundColor009/html/10.000000.html | 4 - .../BackgroundColor010/html/0.000000.html | 13 -- .../BackgroundColor010/html/1.000000.html | 13 -- .../BackgroundColor010/html/10.000000.html | 13 -- .../BackgroundColor010/html/11.000000.html | 13 -- .../BackgroundColor010/html/12.000000.html | 13 -- .../BackgroundColor010/html/13.000000.html | 13 -- .../BackgroundColor010/html/14.000000.html | 13 -- .../BackgroundColor010/html/15.000000.html | 13 -- .../BackgroundColor010/html/16.000000.html | 13 -- .../BackgroundColor010/html/17.000000.html | 13 -- .../BackgroundColor010/html/18.000000.html | 13 -- .../BackgroundColor010/html/19.000000.html | 13 -- .../BackgroundColor010/html/2.000000.html | 13 -- .../BackgroundColor010/html/20.000000.html | 13 -- .../BackgroundColor010/html/21.000000.html | 13 -- .../BackgroundColor010/html/22.000000.html | 13 -- .../BackgroundColor010/html/23.000000.html | 4 - .../BackgroundColor010/html/3.000000.html | 13 -- .../BackgroundColor010/html/4.000000.html | 13 -- .../BackgroundColor010/html/5.000000.html | 13 -- .../BackgroundColor010/html/6.000000.html | 13 -- .../BackgroundColor010/html/7.000000.html | 13 -- .../BackgroundColor010/html/8.000000.html | 13 -- .../BackgroundColor010/html/9.000000.html | 13 -- .../html/0.000000.html | 19 -- .../html/10.000000.html | 4 - .../html/5.000000.html | 13 -- .../html/0.000000.html | 19 -- .../html/10.000000.html | 14 -- .../html/20.000000.html | 4 - .../html/5.000000.html | 13 -- .../html/0.000000.html | 4 - .../html/10.000000.html | 4 - .../html/15.000000.html | 4 - .../html/20.000000.html | 4 - .../html/5.000000.html | 14 -- .../html/0.000000.html | 4 - .../html/10.000000.html | 4 - .../html/15.000000.html | 4 - .../html/20.000000.html | 4 - .../html/5.000000.html | 14 -- .../imsc1/BasicTiming001/html/0.000000.html | 4 - .../imsc1/BasicTiming001/html/10.000000.html | 17 -- .../imsc1/BasicTiming001/html/20.000000.html | 4 - .../imsc1/BasicTiming002/html/0.000000.html | 4 - .../imsc1/BasicTiming002/html/10.000000.html | 17 -- .../imsc1/BasicTiming002/html/20.000000.html | 4 - .../imsc1/BasicTiming003/html/0.000000.html | 4 - .../imsc1/BasicTiming003/html/10.000000.html | 17 -- .../imsc1/BasicTiming003/html/20.000000.html | 4 - .../imsc1/BasicTiming005/html/0.000000.html | 17 -- .../imsc1/BasicTiming005/html/1.000000.html | 17 -- .../imsc1/BasicTiming005/html/10.000000.html | 17 -- .../imsc1/BasicTiming005/html/11.000000.html | 17 -- .../imsc1/BasicTiming005/html/12.000000.html | 17 -- .../imsc1/BasicTiming005/html/13.000000.html | 17 -- .../imsc1/BasicTiming005/html/14.000000.html | 17 -- .../imsc1/BasicTiming005/html/15.000000.html | 4 - .../imsc1/BasicTiming005/html/2.000000.html | 17 -- .../imsc1/BasicTiming005/html/3.000000.html | 17 -- .../imsc1/BasicTiming005/html/4.000000.html | 17 -- .../imsc1/BasicTiming005/html/5.000000.html | 17 -- .../imsc1/BasicTiming005/html/6.000000.html | 17 -- .../imsc1/BasicTiming005/html/7.000000.html | 17 -- .../imsc1/BasicTiming005/html/8.000000.html | 17 -- .../imsc1/BasicTiming005/html/9.000000.html | 17 -- .../imsc1/BasicTiming006/html/0.000000.html | 19 -- .../imsc1/BasicTiming006/html/15.000000.html | 4 - .../imsc1/BasicTiming007/html/0.000000.html | 4 - .../imsc1/BasicTiming007/html/15.000000.html | 4 - .../imsc1/BasicTiming007/html/20.000000.html | 4 - .../imsc1/BasicTiming007/html/5.000000.html | 14 -- .../imsc1/BasicTiming008/html/0.000000.html | 4 - .../imsc1/BasicTiming008/html/1.000000.html | 17 -- .../imsc1/BasicTiming008/html/15.000000.html | 4 - .../imsc1/BasicTiming008/html/2.000000.html | 24 --- .../imsc1/BasicTiming008/html/21.000000.html | 4 - .../imsc1/BasicTiming008/html/22.000000.html | 4 - .../imsc1/BasicTiming008/html/23.000000.html | 4 - .../imsc1/BasicTiming008/html/24.000000.html | 4 - .../imsc1/BasicTiming008/html/25.000000.html | 4 - .../imsc1/BasicTiming008/html/26.000000.html | 4 - .../imsc1/BasicTiming008/html/3.000000.html | 31 --- .../imsc1/BasicTiming008/html/4.000000.html | 38 ---- .../imsc1/BasicTiming008/html/5.000000.html | 45 ----- .../imsc1/BasicTiming008/html/6.000000.html | 52 ----- .../imsc1/BasicTiming010/html/0.000000.html | 4 - .../imsc1/BasicTiming010/html/10.000000.html | 15 -- .../imsc1/BasicTiming010/html/24.400000.html | 11 -- .../imsc1/BasicTiming010/html/25.000000.html | 15 -- .../imsc1/BasicTiming010/html/35.000000.html | 11 -- .../imsc1/BasicTiming010/html/40.000000.html | 4 - .../imsc1/BasicTiming011/html/0.000000.html | 4 - .../imsc1/BasicTiming011/html/0.187500.html | 13 -- .../imsc1/BasicTiming011/html/0.375000.html | 16 -- .../imsc1/BasicTiming011/html/0.562500.html | 19 -- .../imsc1/BasicTiming011/html/0.750000.html | 25 --- .../imsc1/BasicTiming011/html/0.937500.html | 28 --- .../imsc1/BasicTiming011/html/1.125000.html | 31 --- .../imsc1/BasicTiming011/html/1.312500.html | 37 ---- .../imsc1/BasicTiming011/html/1.500000.html | 40 ---- .../imsc1/BasicTiming011/html/1.687500.html | 43 ---- .../imsc1/BasicTiming011/html/1.875000.html | 49 ----- .../imsc1/BasicTiming011/html/2.062500.html | 52 ----- .../imsc1/BasicTiming011/html/2.250000.html | 55 ------ .../imsc1/BasicTiming011/html/2.437500.html | 61 ------ .../imsc1/BasicTiming011/html/2.625000.html | 64 ------ .../imsc1/BasicTiming011/html/2.812500.html | 67 ------- .../imsc1/BasicTiming011/html/3.000000.html | 70 ------- .../imsc1/BasicTiming012/html/0.000000.html | 4 - .../imsc1/BasicTiming012/html/0.187500.html | 13 -- .../imsc1/BasicTiming012/html/0.375000.html | 16 -- .../imsc1/BasicTiming012/html/0.562500.html | 19 -- .../imsc1/BasicTiming012/html/0.750000.html | 22 --- .../imsc1/BasicTiming012/html/0.937500.html | 25 --- .../imsc1/BasicTiming012/html/1.125000.html | 28 --- .../imsc1/BasicTiming012/html/1.312500.html | 31 --- .../imsc1/BasicTiming012/html/1.500000.html | 34 ---- .../imsc1/BasicTiming012/html/1.687500.html | 37 ---- .../imsc1/BasicTiming012/html/1.875000.html | 40 ---- .../imsc1/BasicTiming012/html/2.062500.html | 43 ---- .../imsc1/BasicTiming012/html/2.250000.html | 46 ----- .../imsc1/BasicTiming012/html/2.437500.html | 49 ----- .../imsc1/BasicTiming012/html/2.625000.html | 52 ----- .../imsc1/BasicTiming012/html/2.812500.html | 55 ------ .../imsc1/BasicTiming012/html/3.000000.html | 58 ------ .../imsc1/BasicTiming012/html/3.187500.html | 61 ------ .../imsc1/BasicTiming012/html/3.375000.html | 64 ------ .../imsc1/BeginDur001/html/0.000000.html | 17 -- .../imsc1/BeginDur001/html/10.000000.html | 13 -- .../imsc1/BeginDur001/html/11.000000.html | 4 - .../imsc1/BeginDur001/html/12.000000.html | 13 -- .../imsc1/BeginDur001/html/13.000000.html | 4 - .../imsc1/BeginDur001/html/14.000000.html | 13 -- .../imsc1/BeginDur001/html/15.000000.html | 4 - .../imsc1/BeginDur001/html/16.000000.html | 13 -- .../imsc1/BeginDur001/html/17.000000.html | 4 - .../imsc1/BeginDur001/html/18.000000.html | 13 -- .../imsc1/BeginDur001/html/19.000000.html | 4 - .../imsc1/BeginDur001/html/20.000000.html | 13 -- .../imsc1/BeginDur001/html/25.000000.html | 4 - .../imsc1/BeginDur001/html/6.000000.html | 13 -- .../imsc1/BeginDur001/html/7.000000.html | 4 - .../imsc1/BeginDur001/html/8.000000.html | 13 -- .../imsc1/BeginDur001/html/9.000000.html | 4 - .../imsc1/BeginEnd001/html/0.000000.html | 17 -- .../imsc1/BeginEnd001/html/10.000000.html | 13 -- .../imsc1/BeginEnd001/html/11.000000.html | 4 - .../imsc1/BeginEnd001/html/12.000000.html | 13 -- .../imsc1/BeginEnd001/html/13.000000.html | 4 - .../imsc1/BeginEnd001/html/14.000000.html | 13 -- .../imsc1/BeginEnd001/html/15.000000.html | 4 - .../imsc1/BeginEnd001/html/16.000000.html | 13 -- .../imsc1/BeginEnd001/html/17.000000.html | 4 - .../imsc1/BeginEnd001/html/18.000000.html | 13 -- .../imsc1/BeginEnd001/html/19.000000.html | 4 - .../imsc1/BeginEnd001/html/20.000000.html | 13 -- .../imsc1/BeginEnd001/html/25.000000.html | 4 - .../imsc1/BeginEnd001/html/6.000000.html | 13 -- .../imsc1/BeginEnd001/html/7.000000.html | 4 - .../imsc1/BeginEnd001/html/8.000000.html | 13 -- .../imsc1/BeginEnd001/html/9.000000.html | 4 - .../imsc1/BeginEnd002/html/0.000000.html | 17 -- .../imsc1/BeginEnd002/html/1.000000.html | 26 --- .../imsc1/BeginEnd002/html/10.000000.html | 107 ---------- .../imsc1/BeginEnd002/html/11.000000.html | 112 ----------- .../imsc1/BeginEnd002/html/2.000000.html | 35 ---- .../imsc1/BeginEnd002/html/20.000000.html | 107 ---------- .../imsc1/BeginEnd002/html/3.000000.html | 44 ----- .../imsc1/BeginEnd002/html/4.000000.html | 53 ----- .../imsc1/BeginEnd002/html/5.000000.html | 62 ------ .../imsc1/BeginEnd002/html/6.000000.html | 71 ------- .../imsc1/BeginEnd002/html/7.000000.html | 80 -------- .../imsc1/BeginEnd002/html/8.000000.html | 89 --------- .../imsc1/BeginEnd002/html/9.000000.html | 98 --------- .../imsc1/BeginEnd003/html/0.000000.html | 17 -- .../imsc1/BeginEnd003/html/10.000000.html | 13 -- .../imsc1/BeginEnd003/html/11.000000.html | 4 - .../imsc1/BeginEnd003/html/12.000000.html | 13 -- .../imsc1/BeginEnd003/html/13.000000.html | 4 - .../imsc1/BeginEnd003/html/14.000000.html | 13 -- .../imsc1/BeginEnd003/html/15.000000.html | 4 - .../imsc1/BeginEnd003/html/16.000000.html | 13 -- .../imsc1/BeginEnd003/html/17.000000.html | 4 - .../imsc1/BeginEnd003/html/18.000000.html | 13 -- .../imsc1/BeginEnd003/html/19.000000.html | 4 - .../imsc1/BeginEnd003/html/20.000000.html | 13 -- .../imsc1/BeginEnd003/html/25.000000.html | 4 - .../imsc1/BeginEnd003/html/6.000000.html | 13 -- .../imsc1/BeginEnd003/html/7.000000.html | 4 - .../imsc1/BeginEnd003/html/8.000000.html | 13 -- .../imsc1/BeginEnd003/html/9.000000.html | 4 - .../imsc1/Br001/html/0.000000.html | 17 -- .../imsc1/Br001/html/10.000000.html | 4 - .../imsc1/Color001/html/0.000000.html | 13 -- .../imsc1/Color001/html/10.000000.html | 4 - .../imsc1/Color002/html/0.000000.html | 13 -- .../imsc1/Color002/html/10.000000.html | 4 - .../imsc1/Color003/html/0.000000.html | 17 -- .../imsc1/Color003/html/10.000000.html | 4 - .../imsc1/Color004/html/0.000000.html | 13 -- .../imsc1/Color004/html/10.000000.html | 4 - .../imsc1/Color005/html/0.000000.html | 17 -- .../imsc1/Color005/html/10.000000.html | 4 - .../imsc1/Color007/html/0.000000.html | 19 -- .../imsc1/Color007/html/10.000000.html | 4 - .../imsc1/Color008/html/0.000000.html | 26 --- .../imsc1/Color008/html/10.000000.html | 4 - .../imsc1/Color009/html/0.000000.html | 13 -- .../imsc1/Color009/html/10.000000.html | 4 - .../imsc1/Direction001/html/0.000000.html | 13 -- .../imsc1/Direction001/html/10.000000.html | 4 - .../imsc1/Direction002/html/0.000000.html | 13 -- .../imsc1/Direction002/html/10.000000.html | 4 - .../imsc1/Direction003/html/0.000000.html | 13 -- .../imsc1/Direction003/html/10.000000.html | 4 - .../imsc1/Direction004/html/0.000000.html | 17 -- .../imsc1/Direction004/html/10.000000.html | 4 - .../imsc1/Direction005/html/0.000000.html | 13 -- .../imsc1/Direction005/html/10.000000.html | 4 - .../imsc1/Direction006/html/0.000000.html | 17 -- .../imsc1/Direction006/html/10.000000.html | 4 - .../imsc1/Display001/html/0.000000.html | 13 -- .../imsc1/Display001/html/10.000000.html | 4 - .../imsc1/Display002/html/0.000000.html | 13 -- .../imsc1/Display002/html/10.000000.html | 4 - .../imsc1/Display002/html/5.000000.html | 4 - .../imsc1/Display004/html/0.000000.html | 4 - .../imsc1/Display004/html/10.000000.html | 4 - .../imsc1/DisplayAlign001/html/0.000000.html | 17 -- .../imsc1/DisplayAlign001/html/10.000000.html | 4 - .../imsc1/DisplayAlign002/html/0.000000.html | 17 -- .../imsc1/DisplayAlign002/html/10.000000.html | 4 - .../imsc1/DisplayAlign003/html/0.000000.html | 17 -- .../imsc1/DisplayAlign003/html/10.000000.html | 4 - .../imsc1/DisplayAlign004/html/0.000000.html | 13 -- .../imsc1/DisplayAlign004/html/1.000000.html | 2 - .../imsc1/Div001/html/0.000000.html | 15 -- .../imsc1/Div001/html/10.000000.html | 15 -- .../imsc1/Div001/html/15.000000.html | 4 - .../imsc1/Div001/html/20.000000.html | 4 - .../imsc1/Div001/html/5.000000.html | 15 -- .../imsc1/Div002/html/0.000000.html | 13 -- .../imsc1/Div002/html/10.000000.html | 13 -- .../imsc1/Div002/html/15.000000.html | 13 -- .../imsc1/Div002/html/20.000000.html | 4 - .../imsc1/Div002/html/25.000000.html | 4 - .../imsc1/Div002/html/5.000000.html | 13 -- .../imsc1/Div003/html/0.000000.html | 13 -- .../imsc1/Div003/html/10.000000.html | 13 -- .../imsc1/Div003/html/15.000000.html | 13 -- .../imsc1/Div003/html/20.000000.html | 4 - .../imsc1/Div003/html/25.000000.html | 4 - .../imsc1/Div003/html/5.000000.html | 13 -- .../DocumentExample120/html/0.000000.html | 4 - .../DocumentExample120/html/0.760000.html | 13 -- .../DocumentExample120/html/10.000000.html | 17 -- .../DocumentExample120/html/16.000000.html | 4 - .../DocumentExample120/html/17.200000.html | 17 -- .../DocumentExample120/html/23.000000.html | 13 -- .../DocumentExample120/html/27.000000.html | 4 - .../DocumentExample120/html/28.000000.html | 18 -- .../DocumentExample120/html/3.450000.html | 4 - .../DocumentExample120/html/34.600000.html | 17 -- .../DocumentExample120/html/45.000000.html | 17 -- .../DocumentExample120/html/5.000000.html | 17 -- .../DocumentExample120/html/52.000000.html | 4 - .../DocumentExample120/html/53.500000.html | 18 -- .../DocumentExample120/html/58.700000.html | 4 - .../DocumentExample822/html/0.000000.html | 23 --- .../DocumentExample822/html/10.000000.html | 4 - .../DocumentExample823/html/0.000000.html | 23 --- .../DocumentExample823/html/10.000000.html | 4 - .../DocumentExample824/html/0.000000.html | 21 -- .../DocumentExample824/html/10.000000.html | 4 - .../DocumentExample825/html/0.000000.html | 16 -- .../DocumentExample825/html/1.000000.html | 19 -- .../DocumentExample825/html/2.000000.html | 19 -- .../DocumentExample825/html/3.000000.html | 19 -- .../DocumentExample825/html/4.000000.html | 16 -- .../DocumentExample825/html/5.000000.html | 4 - .../imsc1/Extent001/html/0.000000.html | 17 -- .../imsc1/Extent001/html/10.000000.html | 4 - .../imsc1/Extent002/html/0.000000.html | 19 -- .../imsc1/Extent002/html/10.000000.html | 4 - .../imsc1/FillLineGap001/html/0.000000.html | 37 ---- .../imsc1/FillLineGap001/html/30.000000.html | 2 - .../imsc1/FillLineGap002/html/0.000000.html | 34 ---- .../imsc1/FillLineGap002/html/30.000000.html | 2 - .../imsc1/FillLineGap003/html/0.000000.html | 32 --- .../imsc1/FillLineGap003/html/10.000000.html | 57 ------ .../imsc1/FillLineGap003/html/15.000000.html | 57 ------ .../imsc1/FillLineGap003/html/20.000000.html | 57 ------ .../imsc1/FillLineGap003/html/25.000000.html | 57 ------ .../imsc1/FillLineGap003/html/30.000000.html | 57 ------ .../imsc1/FillLineGap003/html/35.000000.html | 57 ------ .../imsc1/FillLineGap003/html/40.000000.html | 2 - .../imsc1/FillLineGap003/html/5.000000.html | 32 --- .../imsc1/FillLineGap004/html/0.000000.html | 22 --- .../imsc1/FillLineGap004/html/1.000000.html | 2 - .../imsc1/FixedBeginEnd002/html/0.000000.html | 17 -- .../imsc1/FixedBeginEnd002/html/1.000000.html | 26 --- .../FixedBeginEnd002/html/10.000000.html | 107 ---------- .../FixedBeginEnd002/html/11.000000.html | 112 ----------- .../imsc1/FixedBeginEnd002/html/2.000000.html | 35 ---- .../FixedBeginEnd002/html/20.000000.html | 107 ---------- .../imsc1/FixedBeginEnd002/html/3.000000.html | 44 ----- .../imsc1/FixedBeginEnd002/html/4.000000.html | 53 ----- .../imsc1/FixedBeginEnd002/html/5.000000.html | 62 ------ .../imsc1/FixedBeginEnd002/html/6.000000.html | 71 ------- .../imsc1/FixedBeginEnd002/html/7.000000.html | 80 -------- .../imsc1/FixedBeginEnd002/html/8.000000.html | 89 --------- .../imsc1/FixedBeginEnd002/html/9.000000.html | 98 --------- .../imsc1/FontFamily001/html/0.000000.html | 20 -- .../imsc1/FontFamily001/html/10.000000.html | 4 - .../imsc1/FontFamily002/html/0.000000.html | 19 -- .../imsc1/FontFamily002/html/10.000000.html | 4 - .../imsc1/FontFamily003/html/0.000000.html | 19 -- .../imsc1/FontFamily003/html/10.000000.html | 4 - .../imsc1/FontFamily004/html/0.000000.html | 20 -- .../imsc1/FontFamily004/html/10.000000.html | 4 - .../imsc1/FontFamily005/html/0.000000.html | 20 -- .../imsc1/FontFamily005/html/10.000000.html | 4 - .../imsc1/FontFamily006/html/0.000000.html | 20 -- .../imsc1/FontFamily006/html/10.000000.html | 4 - .../imsc1/FontFamily007/html/0.000000.html | 19 -- .../imsc1/FontFamily007/html/10.000000.html | 4 - .../imsc1/FontFamily008/html/0.000000.html | 20 -- .../imsc1/FontFamily008/html/10.000000.html | 4 - .../imsc1/FontFamily009/html/0.000000.html | 20 -- .../imsc1/FontFamily009/html/10.000000.html | 4 - .../imsc1/FontSize001/html/0.000000.html | 19 -- .../imsc1/FontSize001/html/10.000000.html | 4 - .../imsc1/FontSize002/html/0.000000.html | 19 -- .../imsc1/FontSize002/html/10.000000.html | 4 - .../imsc1/FontSize004/html/0.000000.html | 19 -- .../imsc1/FontSize004/html/10.000000.html | 4 - .../imsc1/FontStyle001/html/0.000000.html | 19 -- .../imsc1/FontStyle001/html/10.000000.html | 4 - .../imsc1/FontStyle002/html/0.000000.html | 19 -- .../imsc1/FontStyle002/html/10.000000.html | 4 - .../imsc1/FontStyle003/html/0.000000.html | 19 -- .../imsc1/FontStyle003/html/10.000000.html | 4 - .../imsc1/FontWeight001/html/0.000000.html | 19 -- .../imsc1/FontWeight001/html/10.000000.html | 4 - .../imsc1/FontWeight002/html/0.000000.html | 19 -- .../imsc1/FontWeight002/html/10.000000.html | 4 - .../imsc1/Foreign001/html/0.000000.html | 13 -- .../imsc1/Foreign001/html/5.000000.html | 4 - .../imsc1/LineHeight001/html/0.000000.html | 17 -- .../imsc1/LineHeight001/html/10.000000.html | 4 - .../imsc1/LineHeight002/html/0.000000.html | 17 -- .../imsc1/LineHeight002/html/10.000000.html | 4 - .../imsc1/LineHeight003/html/0.000000.html | 17 -- .../imsc1/LineHeight003/html/10.000000.html | 4 - .../imsc1/LineHeight006/html/0.000000.html | 17 -- .../imsc1/LineHeight006/html/10.000000.html | 4 - .../imsc1/LinePadding005/html/0.000000.html | 33 ---- .../imsc1/LinePadding005/html/1.000000.html | 2 - .../imsc1/LinePadding006/html/0.000000.html | 4 - .../imsc1/LinePadding006/html/2.459000.html | 17 -- .../imsc1/LinePadding006/html/2.726000.html | 4 - .../MediaParTiming001/html/0.000000.html | 4 - .../MediaParTiming001/html/10.000000.html | 28 --- .../MediaParTiming001/html/15.000000.html | 18 -- .../MediaParTiming001/html/20.000000.html | 4 - .../MediaParTiming001/html/5.000000.html | 18 -- .../MediaParTiming002/html/0.000000.html | 4 - .../MediaParTiming002/html/10.000000.html | 4 - .../MediaParTiming002/html/20.000000.html | 4 - .../MediaParTiming002/html/25.000000.html | 4 - .../MediaParTiming002/html/5.000000.html | 39 ---- .../MediaParTiming003/html/0.000000.html | 19 -- .../MediaParTiming003/html/10.000000.html | 19 -- .../MediaParTiming003/html/15.000000.html | 28 --- .../MediaParTiming003/html/20.000000.html | 4 - .../MediaParTiming003/html/40.000000.html | 4 - .../MediaParTiming003/html/5.000000.html | 19 -- .../MediaSeqTiming001/html/0.000000.html | 4 - .../MediaSeqTiming001/html/10.000000.html | 4 - .../MediaSeqTiming001/html/15.000000.html | 17 -- .../MediaSeqTiming001/html/20.000000.html | 4 - .../MediaSeqTiming001/html/5.000000.html | 17 -- .../MediaSeqTiming002/html/0.000000.html | 4 - .../MediaSeqTiming002/html/10.000000.html | 4 - .../MediaSeqTiming002/html/15.000000.html | 19 -- .../MediaSeqTiming002/html/20.000000.html | 4 - .../MediaSeqTiming002/html/25.000000.html | 19 -- .../MediaSeqTiming002/html/30.000000.html | 4 - .../MediaSeqTiming002/html/35.000000.html | 19 -- .../MediaSeqTiming002/html/40.000000.html | 4 - .../MediaSeqTiming002/html/5.000000.html | 19 -- .../MediaSeqTiming003/html/0.000000.html | 4 - .../MediaSeqTiming003/html/10.000000.html | 4 - .../MediaSeqTiming003/html/15.000000.html | 4 - .../MediaSeqTiming003/html/20.000000.html | 4 - .../MediaSeqTiming003/html/25.000000.html | 19 -- .../MediaSeqTiming003/html/30.000000.html | 4 - .../MediaSeqTiming003/html/35.000000.html | 19 -- .../MediaSeqTiming003/html/40.000000.html | 4 - .../MediaSeqTiming003/html/5.000000.html | 4 - .../MediaSeqTiming004/html/0.000000.html | 4 - .../MediaSeqTiming004/html/10.000000.html | 4 - .../MediaSeqTiming004/html/15.000000.html | 19 -- .../MediaSeqTiming004/html/20.000000.html | 4 - .../MediaSeqTiming004/html/25.000000.html | 4 - .../MediaSeqTiming004/html/30.000000.html | 4 - .../MediaSeqTiming004/html/35.000000.html | 4 - .../MediaSeqTiming004/html/40.000000.html | 4 - .../MediaSeqTiming004/html/5.000000.html | 19 -- .../MediaSeqTiming005/html/0.000000.html | 4 - .../MediaSeqTiming005/html/10.000000.html | 4 - .../MediaSeqTiming005/html/15.000000.html | 19 -- .../MediaSeqTiming005/html/20.000000.html | 4 - .../MediaSeqTiming005/html/25.000000.html | 19 -- .../MediaSeqTiming005/html/30.000000.html | 4 - .../MediaSeqTiming005/html/35.000000.html | 4 - .../MediaSeqTiming005/html/40.000000.html | 4 - .../MediaSeqTiming005/html/5.000000.html | 19 -- .../MediaSeqTiming006/html/0.000000.html | 4 - .../MediaSeqTiming006/html/10.000000.html | 4 - .../MediaSeqTiming006/html/15.000000.html | 4 - .../MediaSeqTiming006/html/20.000000.html | 4 - .../MediaSeqTiming006/html/5.000000.html | 30 --- .../MediaSeqTiming007/html/0.000000.html | 4 - .../MediaSeqTiming007/html/10.000000.html | 4 - .../MediaSeqTiming007/html/15.000000.html | 4 - .../MediaSeqTiming007/html/20.000000.html | 4 - .../MediaSeqTiming007/html/25.000000.html | 4 - .../MediaSeqTiming007/html/30.000000.html | 4 - .../MediaSeqTiming007/html/5.000000.html | 30 --- .../imsc1/Opacity001/html/0.000000.html | 14 -- .../imsc1/Opacity001/html/10.000000.html | 4 - .../imsc1/Opacity002/html/0.000000.html | 14 -- .../imsc1/Opacity002/html/10.000000.html | 4 - .../imsc1/Opacity003/html/0.000000.html | 14 -- .../imsc1/Opacity003/html/10.000000.html | 4 - .../imsc1/Opacity004/html/0.000000.html | 16 -- .../imsc1/Opacity004/html/10.000000.html | 6 - .../imsc1/Origin001/html/0.000000.html | 14 -- .../imsc1/Origin001/html/10.000000.html | 4 - .../imsc1/Origin002/html/0.000000.html | 14 -- .../imsc1/Origin002/html/10.000000.html | 4 - .../imsc1/Overflow001/html/0.000000.html | 13 -- .../imsc1/Overflow001/html/10.000000.html | 4 - .../imsc1/Overflow002/html/0.000000.html | 13 -- .../imsc1/Overflow002/html/10.000000.html | 4 - .../imsc1/Overflow003/html/0.000000.html | 16 -- .../imsc1/Overflow003/html/10.000000.html | 4 - .../imsc1/Overflow004/html/0.000000.html | 16 -- .../imsc1/Overflow004/html/10.000000.html | 4 - .../imsc1/Overflow005/html/0.000000.html | 16 -- .../imsc1/Overflow005/html/10.000000.html | 4 - .../imsc1/Padding001/html/0.000000.html | 17 -- .../imsc1/Padding001/html/10.000000.html | 4 - .../imsc1/Padding002/html/0.000000.html | 17 -- .../imsc1/Padding002/html/10.000000.html | 4 - .../imsc1/Padding002/html/5.000000.html | 17 -- .../imsc1/Padding003/html/0.000000.html | 17 -- .../imsc1/Padding003/html/10.000000.html | 17 -- .../imsc1/Padding003/html/15.000000.html | 4 - .../imsc1/Padding003/html/5.000000.html | 17 -- .../imsc1/Padding004/html/0.000000.html | 17 -- .../imsc1/Padding004/html/10.000000.html | 17 -- .../imsc1/Padding004/html/15.000000.html | 17 -- .../imsc1/Padding004/html/20.000000.html | 4 - .../imsc1/Padding004/html/5.000000.html | 17 -- .../imsc1/Padding006/html/0.000000.html | 17 -- .../imsc1/Padding006/html/10.000000.html | 4 - .../imsc1/Padding007/html/0.000000.html | 18 -- .../imsc1/Padding007/html/10.000000.html | 4 - .../imsc1/Paragraph001/html/0.000000.html | 13 -- .../imsc1/Paragraph001/html/10.000000.html | 4 - .../imsc1/Paragraph002/html/0.000000.html | 13 -- .../imsc1/Paragraph003/html/0.000000.html | 13 -- .../imsc1/Paragraph003/html/10.000000.html | 4 - .../imsc1/Paragraph004/html/0.000000.html | 13 -- .../imsc1/Paragraph004/html/10.000000.html | 4 - .../imsc1/Paragraph005/html/0.000000.html | 15 -- .../imsc1/Paragraph005/html/10.000000.html | 4 - .../imsc1/Parameters006/html/0.000000.html | 14 -- .../ShowBackground001/html/0.000000.html | 14 -- .../ShowBackground001/html/12.000000.html | 4 - .../ShowBackground001/html/5.000000.html | 4 - .../ShowBackground001/html/7.000000.html | 13 -- .../ShowBackground002/html/0.000000.html | 14 -- .../ShowBackground002/html/12.000000.html | 2 - .../ShowBackground002/html/5.000000.html | 2 - .../ShowBackground002/html/7.000000.html | 13 -- .../imsc1/Span001/html/0.000000.html | 19 -- .../imsc1/Span001/html/10.000000.html | 4 - .../imsc1/Span002/html/0.000000.html | 19 -- .../imsc1/Span002/html/10.000000.html | 4 - .../imsc1/Span003/html/0.000000.html | 15 -- .../imsc1/Span003/html/10.000000.html | 4 - .../imsc1/Span004/html/0.000000.html | 30 --- .../imsc1/Span004/html/10.000000.html | 4 - .../imsc1/Span005/html/0.000000.html | 22 --- .../imsc1/Span005/html/10.000000.html | 4 - .../imsc1/Structure001/html/0.000000.html | 13 -- .../imsc1/Structure001/html/10.000000.html | 4 - .../imsc1/Structure002/html/0.000000.html | 4 - .../imsc1/Style001/html/0.000000.html | 14 -- .../imsc1/Style001/html/10.000000.html | 4 - .../imsc1/Styling001/html/0.000000.html | 14 -- .../imsc1/Styling001/html/10.000000.html | 4 - .../imsc1/Styling001/html/5.000000.html | 14 -- .../imsc1/TextAlign001/html/0.000000.html | 13 -- .../imsc1/TextAlign001/html/10.000000.html | 4 - .../imsc1/TextAlign002/html/0.000000.html | 13 -- .../imsc1/TextAlign002/html/10.000000.html | 4 - .../imsc1/TextAlign003/html/0.000000.html | 13 -- .../imsc1/TextAlign003/html/10.000000.html | 4 - .../imsc1/TextAlign004/html/0.000000.html | 4 - .../imsc1/TextAlign004/html/1.000000.html | 17 -- .../imsc1/TextAlign004/html/10.000000.html | 4 - .../imsc1/TextAlign005/html/0.000000.html | 17 -- .../imsc1/TextAlign005/html/10.000000.html | 4 - .../imsc1/TextAlign006/html/0.000000.html | 17 -- .../imsc1/TextAlign006/html/10.000000.html | 4 - .../TextDecoration001/html/0.000000.html | 13 -- .../TextDecoration001/html/10.000000.html | 4 - .../TextDecoration002/html/0.000000.html | 19 -- .../TextDecoration002/html/10.000000.html | 4 - .../TextDecoration003/html/0.000000.html | 19 -- .../TextDecoration003/html/10.000000.html | 4 - .../TextDecoration004/html/0.000000.html | 14 -- .../TextDecoration004/html/10.000000.html | 4 - .../TextDecoration005/html/0.000000.html | 14 -- .../TextDecoration005/html/10.000000.html | 4 - .../TextDecoration006/html/0.000000.html | 14 -- .../TextDecoration006/html/10.000000.html | 4 - .../TextDecoration007/html/0.000000.html | 20 -- .../TextDecoration007/html/10.000000.html | 4 - .../TextDecoration008/html/0.000000.html | 13 -- .../TextDecoration008/html/10.000000.html | 4 - .../TextDecoration009/html/0.000000.html | 20 -- .../TextDecoration009/html/10.000000.html | 4 - .../TextDecoration010/html/0.000000.html | 13 -- .../TextDecoration010/html/10.000000.html | 4 - .../TextDecoration011/html/0.000000.html | 17 -- .../TextDecoration011/html/10.000000.html | 4 - .../TextDecoration012/html/0.000000.html | 14 -- .../TextDecoration012/html/10.000000.html | 4 - .../TextDecoration013/html/0.000000.html | 14 -- .../TextDecoration013/html/10.000000.html | 4 - .../imsc1/TextOutline001/html/0.000000.html | 13 -- .../imsc1/TextOutline001/html/10.000000.html | 4 - .../imsc1/TextOutline002/html/0.000000.html | 14 -- .../imsc1/TextOutline002/html/10.000000.html | 4 - .../imsc1/TextOutline004/html/0.000000.html | 13 -- .../imsc1/TextOutline004/html/10.000000.html | 4 - .../imsc1/TextOutline005/html/0.000000.html | 13 -- .../imsc1/TextOutline005/html/10.000000.html | 4 - .../imsc1/TextOutline005/html/5.000000.html | 13 -- .../TimeExpressions001/html/0.000000.html | 13 -- .../TimeExpressions001/html/1.200000.html | 13 -- .../TimeExpressions001/html/11842.436000.html | 13 -- .../TimeExpressions001/html/15565.671000.html | 13 -- .../TimeExpressions001/html/19289.505167.html | 13 -- .../html/379289.605167.html | 13 -- .../TimeExpressions001/html/4393.200000.html | 13 -- .../TimeExpressions001/html/4394.201000.html | 13 -- .../TimeExpressions001/html/4396.201000.html | 13 -- .../TimeExpressions001/html/73.200000.html | 13 -- .../html/739289.605167.html | 4 - .../TimeExpressions001/html/8119.201000.html | 13 -- .../imsc1/Tt001/html/0.000000.html | 13 -- .../imsc1/Tt001/html/10.000000.html | 4 - .../imsc1/Tt002/html/0.000000.html | 15 -- .../imsc1/Tt002/html/10.000000.html | 4 - .../imsc1/Tt003/html/0.000000.html | 13 -- .../imsc1/Tt003/html/10.000000.html | 4 - .../imsc1/UnicodeBidi001/html/0.000000.html | 13 -- .../imsc1/UnicodeBidi001/html/10.000000.html | 4 - .../imsc1/UnicodeBidi002/html/0.000000.html | 17 -- .../imsc1/UnicodeBidi002/html/10.000000.html | 4 - .../imsc1/UnicodeBidi003/html/0.000000.html | 13 -- .../imsc1/UnicodeBidi003/html/10.000000.html | 4 - .../imsc1/UnicodeBidi005/html/0.000000.html | 13 -- .../imsc1/UnicodeBidi005/html/10.000000.html | 4 - .../imsc1/UnicodeBidi005/html/5.000000.html | 13 -- .../imsc1/Visibility001/html/0.000000.html | 13 -- .../imsc1/Visibility001/html/10.000000.html | 4 - .../imsc1/Visibility002/html/0.000000.html | 13 -- .../imsc1/Visibility002/html/10.000000.html | 4 - .../imsc1/Visibility003/html/0.000000.html | 17 -- .../imsc1/Visibility003/html/10.000000.html | 4 - .../imsc1/WrapOption001/html/0.000000.html | 16 -- .../imsc1/WrapOption001/html/10.000000.html | 4 - .../imsc1/WrapOption002/html/0.000000.html | 13 -- .../imsc1/WrapOption002/html/10.000000.html | 4 - .../imsc1/WrapOption003/html/0.000000.html | 13 -- .../imsc1/WrapOption003/html/10.000000.html | 4 - .../imsc1/WrapOption004/html/0.000000.html | 13 -- .../imsc1/WrapOption004/html/10.000000.html | 4 - .../imsc1/WrapOption004/html/5.000000.html | 15 -- .../imsc1/WrapOption005/html/0.000000.html | 15 -- .../imsc1/WrapOption005/html/10.000000.html | 4 - .../imsc1/WrapOption005/html/5.000000.html | 13 -- .../imsc1/WritingMode001/html/0.000000.html | 17 -- .../imsc1/WritingMode001/html/10.000000.html | 4 - .../imsc1/WritingMode002/html/0.000000.html | 17 -- .../imsc1/WritingMode002/html/10.000000.html | 4 - .../imsc1/WritingMode002/html/5.000000.html | 17 -- .../imsc1/WritingMode003/html/0.000000.html | 17 -- .../imsc1/WritingMode003/html/10.000000.html | 4 - .../imsc1/WritingMode003/html/5.000000.html | 17 -- .../imsc1/WritingMode004/html/0.000000.html | 22 --- .../imsc1/WritingMode004/html/10.000000.html | 4 - .../imsc1/WritingMode005/html/0.000000.html | 18 -- .../imsc1/WritingMode005/html/10.000000.html | 4 - .../imsc1/WritingMode006/html/0.000000.html | 17 -- .../imsc1/WritingMode006/html/10.000000.html | 4 - .../imsc1/WritingMode007/html/0.000000.html | 17 -- .../imsc1/WritingMode007/html/10.000000.html | 4 - .../imsc1/WritingMode007/html/5.000000.html | 17 -- .../imsc1/WritingMode008/html/0.000000.html | 17 -- .../imsc1/WritingMode008/html/10.000000.html | 4 - .../imsc1/WritingMode008/html/5.000000.html | 17 -- .../imsc1/WritingMode009/html/0.000000.html | 22 --- .../imsc1/WritingMode009/html/10.000000.html | 4 - .../imsc1/WritingMode010/html/0.000000.html | 33 ---- .../imsc1/WritingMode010/html/1.000000.html | 6 - .../imsc1/ZIndex001/html/0.000000.html | 13 -- .../imsc1/ZIndex001/html/1.000000.html | 13 -- .../imsc1/ZIndex001/html/2.000000.html | 13 -- .../imsc1/ZIndex001/html/3.000000.html | 13 -- .../imsc1/ZIndex001/html/4.000000.html | 13 -- .../imsc1/ZIndex001/html/5.000000.html | 13 -- .../imsc1/ZIndex001/html/6.000000.html | 2 - .../imsc1/altText1/html/0.000000.html | 2 - .../imsc1/altText1/html/1.000000.html | 9 - .../imsc1/altText1/html/9.000000.html | 2 - .../imsc1/aspectRatio1/html/0.000000.html | 4 - .../imsc1/aspectRatio1/html/1.000000.html | 20 -- .../imsc1/aspectRatio1/html/9.000000.html | 4 - .../imsc1/aspectRatio2/html/0.000000.html | 4 - .../imsc1/aspectRatio2/html/1.000000.html | 18 -- .../imsc1/aspectRatio2/html/9.000000.html | 4 - .../imsc1/aspectRatio3/html/0.000000.html | 2 - .../imsc1/aspectRatio3/html/1.000000.html | 9 - .../imsc1/aspectRatio3/html/9.000000.html | 2 - .../imsc1/aspectRatio4/html/0.000000.html | 2 - .../imsc1/aspectRatio4/html/1.000000.html | 9 - .../imsc1/aspectRatio4/html/9.000000.html | 2 - .../imsc1/aspectRatio5/html/0.000000.html | 4 - .../imsc1/aspectRatio5/html/1.000000.html | 14 -- .../imsc1/aspectRatio5/html/9.000000.html | 4 - .../imsc1/aspectRatio6/html/0.000000.html | 2 - .../imsc1/aspectRatio6/html/1.000000.html | 9 - .../imsc1/aspectRatio6/html/9.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../imsc1/br-in-p-001/html/0.000000.html | 17 -- .../imsc1/br-in-p-001/html/10.000000.html | 2 - .../imsc1/br-in-span-001/html/0.000000.html | 19 -- .../imsc1/br-in-span-001/html/10.000000.html | 2 - .../cellresolution-001/html/0.000000.html | 13 -- .../cellresolution-001/html/10.000000.html | 2 - .../html/0.000000.html | 20 -- .../html/10.000000.html | 2 - .../cumulative-rows-001/html/0.000000.html | 13 -- .../cumulative-rows-001/html/10.000000.html | 2 - .../cumulative-rows-001/html/2.000000.html | 18 -- .../cumulative-rows-001/html/4.000000.html | 18 -- .../cumulative-rows-001/html/6.000000.html | 13 -- .../cumulative-rows-002/html/0.000000.html | 13 -- .../cumulative-rows-002/html/10.000000.html | 13 -- .../cumulative-rows-002/html/12.000000.html | 2 - .../cumulative-rows-002/html/2.000000.html | 13 -- .../cumulative-rows-002/html/4.000000.html | 13 -- .../cumulative-rows-002/html/6.000000.html | 13 -- .../cumulative-rows-002/html/8.000000.html | 13 -- .../cumulative-words-001/html/0.000000.html | 13 -- .../cumulative-words-001/html/10.000000.html | 4 - .../cumulative-words-001/html/2.000000.html | 16 -- .../cumulative-words-001/html/4.000000.html | 19 -- .../cumulative-words-001/html/6.000000.html | 22 --- .../cumulative-words-002/html/0.000000.html | 2 - .../cumulative-words-002/html/2.000000.html | 13 -- .../cumulative-words-002/html/3.000000.html | 13 -- .../cumulative-words-002/html/4.000000.html | 13 -- .../cumulative-words-002/html/5.000000.html | 13 -- .../cumulative-words-002/html/6.000000.html | 2 - .../displayalign-after-001/html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../font-style-normal-001/html/0.000000.html | 19 -- .../font-style-normal-001/html/10.000000.html | 2 - .../imsc1/font-weight-001/html/0.000000.html | 16 -- .../imsc1/font-weight-001/html/10.000000.html | 2 - .../font-weight-normal-001/html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../imsc1/fontsize-001/html/0.000000.html | 13 -- .../imsc1/fontsize-001/html/10.000000.html | 2 - .../forcedDisplay1-forced/html/0.000000.html | 6 - .../forcedDisplay1-forced/html/1.000000.html | 28 --- .../forcedDisplay1-forced/html/9.000000.html | 6 - .../imsc1/forcedDisplay1/html/0.000000.html | 6 - .../imsc1/forcedDisplay1/html/1.000000.html | 28 --- .../imsc1/forcedDisplay1/html/9.000000.html | 6 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 46 ----- .../html/10.000000.html | 10 - .../imsc1/idrefs-style-001/html/0.000000.html | 14 -- .../idrefs-style-001/html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 2 - .../imsc1/linePadding1/html/0.000000.html | 2 - .../imsc1/linePadding1/html/1.000000.html | 36 ---- .../imsc1/linePadding1/html/9.000000.html | 2 - .../imsc1/linePadding2/html/0.000000.html | 27 --- .../imsc1/linePadding2/html/9.000000.html | 2 - .../imsc1/linePadding3/html/0.000000.html | 30 --- .../imsc1/linePadding3/html/9.000000.html | 2 - .../imsc1/linePadding4/html/0.000000.html | 20 -- .../imsc1/linePadding4/html/10.000000.html | 2 - .../imsc1/lineheight-001/html/0.000000.html | 17 -- .../imsc1/lineheight-001/html/10.000000.html | 2 - .../imsc1/linepadding-001/html/0.000000.html | 17 -- .../imsc1/linepadding-001/html/10.000000.html | 2 - .../imsc1/multiRowAlign1/html/0.000000.html | 6 - .../imsc1/multiRowAlign1/html/1.000000.html | 36 ---- .../imsc1/multiRowAlign1/html/9.000000.html | 6 - .../html/0.000000.html | 17 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 37 ---- .../html/12.000000.html | 28 --- .../html/14.000000.html | 19 -- .../html/16.000000.html | 10 - .../html/2.000000.html | 28 --- .../html/4.000000.html | 37 ---- .../html/6.000000.html | 46 ----- .../nested-region-001/html/0.000000.html | 24 --- .../overflow-hidden-001/html/0.000000.html | 13 -- .../overflow-hidden-001/html/10.000000.html | 2 - .../overflow-visible-001/html/0.000000.html | 13 -- .../overflow-visible-001/html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../html/10.000000.html | 4 - .../padding-one-value-001/html/0.000000.html | 14 -- .../padding-one-value-001/html/10.000000.html | 4 - .../html/0.000000.html | 14 -- .../html/10.000000.html | 4 - .../padding-two-values-001/html/0.000000.html | 16 -- .../html/10.000000.html | 4 - .../html/0.000000.html | 4 - .../html/1.000000.html | 13 -- .../html/2.000000.html | 13 -- .../html/3.000000.html | 13 -- .../html/4.000000.html | 13 -- .../html/5.000000.html | 4 - .../imsc1/referenceFonts1/html/0.000000.html | 33 ---- .../imsc1/referenceFonts1/html/9.000000.html | 6 - .../imsc1/region-timing/html/0.000000.html | 14 -- .../imsc1/region-timing/html/10.000000.html | 20 -- .../imsc1/region-timing/html/12.000000.html | 26 --- .../imsc1/region-timing/html/15.000000.html | 20 -- .../imsc1/region-timing/html/16.000000.html | 26 --- .../imsc1/region-timing/html/18.000000.html | 20 -- .../imsc1/region-timing/html/20.000000.html | 2 - .../imsc1/region-timing/html/25.000000.html | 2 - .../imsc1/region-timing/html/5.000000.html | 14 -- .../space-preserve-001/html/0.000000.html | 21 -- .../space-preserve-001/html/10.000000.html | 2 - .../special-character-001/html/0.000000.html | 19 -- .../special-character-001/html/10.000000.html | 2 - .../styleInheritance-001/html/0.000000.html | 13 -- .../styleInheritance-001/html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../textalign-center-001/html/0.000000.html | 13 -- .../textalign-center-001/html/10.000000.html | 2 - .../textalign-end-001/html/0.000000.html | 13 -- .../textalign-end-001/html/10.000000.html | 2 - .../textalign-left-001/html/0.000000.html | 13 -- .../textalign-left-001/html/10.000000.html | 2 - .../textalign-right-001/html/0.000000.html | 13 -- .../textalign-right-001/html/10.000000.html | 2 - .../textalign-start-001/html/0.000000.html | 13 -- .../textalign-start-001/html/10.000000.html | 2 - .../timing-on-span-001/html/0.000000.html | 13 -- .../timing-on-span-001/html/10.000000.html | 4 - .../timing-on-span-002/html/0.000000.html | 13 -- .../timing-on-span-002/html/10.000000.html | 4 - .../timing-on-span-002/html/4.000000.html | 13 -- .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 19 -- .../html/10.000000.html | 2 - .../html/0.000000.html | 13 -- .../wrapoption-nowrap-001/html/0.000000.html | 13 -- .../wrapoption-nowrap-001/html/10.000000.html | 2 - .../wrapoption-wrap-001/html/0.000000.html | 14 -- .../wrapoption-wrap-001/html/10.000000.html | 2 - .../writing-mode-lr-001/html/0.000000.html | 17 -- .../writing-mode-lr-001/html/10.000000.html | 2 - .../writing-mode-lrtb-001/html/0.000000.html | 13 -- .../writing-mode-lrtb-001/html/10.000000.html | 2 - .../writing-mode-rl-001/html/0.000000.html | 17 -- .../writing-mode-rl-001/html/10.000000.html | 2 - .../writing-mode-rltb-001/html/0.000000.html | 13 -- .../writing-mode-rltb-001/html/10.000000.html | 2 - .../writing-mode-tb-001/html/0.000000.html | 13 -- .../writing-mode-tb-001/html/2.000000.html | 18 -- .../writing-mode-tb-001/html/4.000000.html | 2 - .../writing-mode-tbrl-001/html/0.000000.html | 13 -- .../writing-mode-tbrl-001/html/2.000000.html | 18 -- .../writing-mode-tbrl-001/html/4.000000.html | 2 - .../disparity001-left/html/0.000000.html | 13 -- .../disparity001-left/html/1.000000.html | 4 - .../disparity001-right/html/0.000000.html | 13 -- .../disparity001-right/html/1.000000.html | 4 - .../displayAspectRatio001/html/0.000000.html | 4 - .../displayAspectRatio001/html/1.000000.html | 20 -- .../displayAspectRatio001/html/9.000000.html | 4 - .../displayAspectRatio002/html/0.000000.html | 4 - .../displayAspectRatio002/html/1.000000.html | 18 -- .../displayAspectRatio002/html/9.000000.html | 4 - .../displayAspectRatio003/html/0.000000.html | 2 - .../displayAspectRatio003/html/1.000000.html | 9 - .../displayAspectRatio003/html/9.000000.html | 2 - .../displayAspectRatio004/html/0.000000.html | 2 - .../displayAspectRatio004/html/1.000000.html | 9 - .../displayAspectRatio004/html/9.000000.html | 2 - .../imsc1_1/image001/html/0.000000.html | 9 - .../imsc1_1/image001/html/1.000000.html | 2 - .../imsc1_1/initial001/html/0.000000.html | 13 -- .../imsc1_1/initial001/html/1.000000.html | 13 -- .../imsc1_1/initial001/html/2.000000.html | 4 - .../imsc1_1/initial002/html/0.000000.html | 14 -- .../imsc1_1/initial002/html/1.000000.html | 14 -- .../imsc1_1/initial002/html/2.000000.html | 4 - .../html/0.000000.html | 13 -- .../html/1.000000.html | 4 - .../html/0.000000.html | 16 -- .../html/1.000000.html | 4 - .../html/0.000000.html | 34 ---- .../html/1.000000.html | 4 - .../html/0.000000.html | 34 ---- .../html/1.000000.html | 6 - .../html/0.000000.html | 20 -- .../html/0.000000.html | 15 -- .../html/10.000000.html | 4 - .../imsc1_1/linepadding002/html/0.000000.html | 30 --- .../imsc1_1/linepadding002/html/1.000000.html | 4 - .../luminanceGain001/html/0.000000.html | 18 -- .../luminanceGain001/html/1.000000.html | 4 - .../imsc1_1/position001/html/0.000000.html | 13 -- .../imsc1_1/position001/html/1.000000.html | 13 -- .../imsc1_1/position001/html/10.000000.html | 13 -- .../imsc1_1/position001/html/11.000000.html | 13 -- .../imsc1_1/position001/html/12.000000.html | 13 -- .../imsc1_1/position001/html/13.000000.html | 13 -- .../imsc1_1/position001/html/14.000000.html | 13 -- .../imsc1_1/position001/html/15.000000.html | 13 -- .../imsc1_1/position001/html/16.000000.html | 13 -- .../imsc1_1/position001/html/17.000000.html | 13 -- .../imsc1_1/position001/html/18.000000.html | 13 -- .../imsc1_1/position001/html/19.000000.html | 13 -- .../imsc1_1/position001/html/2.000000.html | 13 -- .../imsc1_1/position001/html/20.000000.html | 13 -- .../imsc1_1/position001/html/21.000000.html | 13 -- .../imsc1_1/position001/html/22.000000.html | 13 -- .../imsc1_1/position001/html/23.000000.html | 13 -- .../imsc1_1/position001/html/24.000000.html | 13 -- .../imsc1_1/position001/html/25.000000.html | 13 -- .../imsc1_1/position001/html/26.000000.html | 13 -- .../imsc1_1/position001/html/27.000000.html | 13 -- .../imsc1_1/position001/html/28.000000.html | 13 -- .../imsc1_1/position001/html/29.000000.html | 13 -- .../imsc1_1/position001/html/3.000000.html | 13 -- .../imsc1_1/position001/html/30.000000.html | 13 -- .../imsc1_1/position001/html/31.000000.html | 13 -- .../imsc1_1/position001/html/32.000000.html | 13 -- .../imsc1_1/position001/html/33.000000.html | 13 -- .../imsc1_1/position001/html/34.000000.html | 13 -- .../imsc1_1/position001/html/35.000000.html | 13 -- .../imsc1_1/position001/html/36.000000.html | 13 -- .../imsc1_1/position001/html/37.000000.html | 13 -- .../imsc1_1/position001/html/38.000000.html | 13 -- .../imsc1_1/position001/html/39.000000.html | 13 -- .../imsc1_1/position001/html/4.000000.html | 13 -- .../imsc1_1/position001/html/40.000000.html | 13 -- .../imsc1_1/position001/html/41.000000.html | 13 -- .../imsc1_1/position001/html/42.000000.html | 13 -- .../imsc1_1/position001/html/43.000000.html | 13 -- .../imsc1_1/position001/html/44.000000.html | 13 -- .../imsc1_1/position001/html/45.000000.html | 13 -- .../imsc1_1/position001/html/46.000000.html | 13 -- .../imsc1_1/position001/html/47.000000.html | 13 -- .../imsc1_1/position001/html/48.000000.html | 13 -- .../imsc1_1/position001/html/49.000000.html | 13 -- .../imsc1_1/position001/html/5.000000.html | 13 -- .../imsc1_1/position001/html/50.000000.html | 13 -- .../imsc1_1/position001/html/51.000000.html | 13 -- .../imsc1_1/position001/html/52.000000.html | 13 -- .../imsc1_1/position001/html/53.000000.html | 13 -- .../imsc1_1/position001/html/54.000000.html | 13 -- .../imsc1_1/position001/html/55.000000.html | 13 -- .../imsc1_1/position001/html/56.000000.html | 13 -- .../imsc1_1/position001/html/57.000000.html | 13 -- .../imsc1_1/position001/html/58.000000.html | 13 -- .../imsc1_1/position001/html/59.000000.html | 13 -- .../imsc1_1/position001/html/6.000000.html | 13 -- .../imsc1_1/position001/html/60.000000.html | 13 -- .../imsc1_1/position001/html/61.000000.html | 13 -- .../imsc1_1/position001/html/62.000000.html | 2 - .../imsc1_1/position001/html/7.000000.html | 13 -- .../imsc1_1/position001/html/8.000000.html | 13 -- .../imsc1_1/position001/html/9.000000.html | 13 -- .../imsc1_1/position002/html/0.000000.html | 13 -- .../imsc1_1/position002/html/1.000000.html | 13 -- .../imsc1_1/position002/html/10.000000.html | 13 -- .../imsc1_1/position002/html/11.000000.html | 13 -- .../imsc1_1/position002/html/12.000000.html | 13 -- .../imsc1_1/position002/html/13.000000.html | 13 -- .../imsc1_1/position002/html/14.000000.html | 13 -- .../imsc1_1/position002/html/15.000000.html | 13 -- .../imsc1_1/position002/html/16.000000.html | 13 -- .../imsc1_1/position002/html/17.000000.html | 13 -- .../imsc1_1/position002/html/18.000000.html | 13 -- .../imsc1_1/position002/html/19.000000.html | 13 -- .../imsc1_1/position002/html/2.000000.html | 13 -- .../imsc1_1/position002/html/20.000000.html | 13 -- .../imsc1_1/position002/html/21.000000.html | 13 -- .../imsc1_1/position002/html/22.000000.html | 13 -- .../imsc1_1/position002/html/23.000000.html | 13 -- .../imsc1_1/position002/html/24.000000.html | 13 -- .../imsc1_1/position002/html/25.000000.html | 13 -- .../imsc1_1/position002/html/26.000000.html | 13 -- .../imsc1_1/position002/html/27.000000.html | 13 -- .../imsc1_1/position002/html/28.000000.html | 13 -- .../imsc1_1/position002/html/29.000000.html | 13 -- .../imsc1_1/position002/html/3.000000.html | 13 -- .../imsc1_1/position002/html/30.000000.html | 13 -- .../imsc1_1/position002/html/31.000000.html | 13 -- .../imsc1_1/position002/html/32.000000.html | 13 -- .../imsc1_1/position002/html/33.000000.html | 13 -- .../imsc1_1/position002/html/34.000000.html | 13 -- .../imsc1_1/position002/html/35.000000.html | 13 -- .../imsc1_1/position002/html/36.000000.html | 13 -- .../imsc1_1/position002/html/37.000000.html | 13 -- .../imsc1_1/position002/html/38.000000.html | 13 -- .../imsc1_1/position002/html/39.000000.html | 13 -- .../imsc1_1/position002/html/4.000000.html | 13 -- .../imsc1_1/position002/html/40.000000.html | 13 -- .../imsc1_1/position002/html/41.000000.html | 13 -- .../imsc1_1/position002/html/42.000000.html | 13 -- .../imsc1_1/position002/html/43.000000.html | 13 -- .../imsc1_1/position002/html/44.000000.html | 13 -- .../imsc1_1/position002/html/45.000000.html | 13 -- .../imsc1_1/position002/html/46.000000.html | 13 -- .../imsc1_1/position002/html/47.000000.html | 13 -- .../imsc1_1/position002/html/48.000000.html | 13 -- .../imsc1_1/position002/html/49.000000.html | 13 -- .../imsc1_1/position002/html/5.000000.html | 13 -- .../imsc1_1/position002/html/50.000000.html | 13 -- .../imsc1_1/position002/html/51.000000.html | 13 -- .../imsc1_1/position002/html/52.000000.html | 13 -- .../imsc1_1/position002/html/53.000000.html | 13 -- .../imsc1_1/position002/html/54.000000.html | 13 -- .../imsc1_1/position002/html/55.000000.html | 13 -- .../imsc1_1/position002/html/56.000000.html | 13 -- .../imsc1_1/position002/html/57.000000.html | 13 -- .../imsc1_1/position002/html/58.000000.html | 13 -- .../imsc1_1/position002/html/59.000000.html | 13 -- .../imsc1_1/position002/html/6.000000.html | 13 -- .../imsc1_1/position002/html/60.000000.html | 13 -- .../imsc1_1/position002/html/61.000000.html | 13 -- .../imsc1_1/position002/html/62.000000.html | 2 - .../imsc1_1/position002/html/7.000000.html | 13 -- .../imsc1_1/position002/html/8.000000.html | 13 -- .../imsc1_1/position002/html/9.000000.html | 13 -- .../imsc1_1/position003/html/0.000000.html | 13 -- .../imsc1_1/position003/html/1.000000.html | 13 -- .../imsc1_1/position003/html/10.000000.html | 13 -- .../imsc1_1/position003/html/11.000000.html | 13 -- .../imsc1_1/position003/html/12.000000.html | 13 -- .../imsc1_1/position003/html/13.000000.html | 13 -- .../imsc1_1/position003/html/14.000000.html | 13 -- .../imsc1_1/position003/html/15.000000.html | 13 -- .../imsc1_1/position003/html/16.000000.html | 13 -- .../imsc1_1/position003/html/17.000000.html | 13 -- .../imsc1_1/position003/html/18.000000.html | 13 -- .../imsc1_1/position003/html/19.000000.html | 13 -- .../imsc1_1/position003/html/2.000000.html | 13 -- .../imsc1_1/position003/html/20.000000.html | 13 -- .../imsc1_1/position003/html/21.000000.html | 13 -- .../imsc1_1/position003/html/22.000000.html | 13 -- .../imsc1_1/position003/html/23.000000.html | 13 -- .../imsc1_1/position003/html/24.000000.html | 13 -- .../imsc1_1/position003/html/25.000000.html | 13 -- .../imsc1_1/position003/html/26.000000.html | 13 -- .../imsc1_1/position003/html/27.000000.html | 13 -- .../imsc1_1/position003/html/28.000000.html | 13 -- .../imsc1_1/position003/html/29.000000.html | 13 -- .../imsc1_1/position003/html/3.000000.html | 13 -- .../imsc1_1/position003/html/30.000000.html | 13 -- .../imsc1_1/position003/html/31.000000.html | 13 -- .../imsc1_1/position003/html/32.000000.html | 13 -- .../imsc1_1/position003/html/33.000000.html | 13 -- .../imsc1_1/position003/html/34.000000.html | 13 -- .../imsc1_1/position003/html/35.000000.html | 13 -- .../imsc1_1/position003/html/36.000000.html | 13 -- .../imsc1_1/position003/html/37.000000.html | 13 -- .../imsc1_1/position003/html/38.000000.html | 13 -- .../imsc1_1/position003/html/39.000000.html | 13 -- .../imsc1_1/position003/html/4.000000.html | 13 -- .../imsc1_1/position003/html/40.000000.html | 13 -- .../imsc1_1/position003/html/41.000000.html | 13 -- .../imsc1_1/position003/html/42.000000.html | 13 -- .../imsc1_1/position003/html/43.000000.html | 13 -- .../imsc1_1/position003/html/44.000000.html | 13 -- .../imsc1_1/position003/html/45.000000.html | 13 -- .../imsc1_1/position003/html/46.000000.html | 13 -- .../imsc1_1/position003/html/47.000000.html | 13 -- .../imsc1_1/position003/html/48.000000.html | 13 -- .../imsc1_1/position003/html/49.000000.html | 13 -- .../imsc1_1/position003/html/5.000000.html | 13 -- .../imsc1_1/position003/html/50.000000.html | 13 -- .../imsc1_1/position003/html/51.000000.html | 13 -- .../imsc1_1/position003/html/52.000000.html | 13 -- .../imsc1_1/position003/html/53.000000.html | 13 -- .../imsc1_1/position003/html/54.000000.html | 13 -- .../imsc1_1/position003/html/55.000000.html | 13 -- .../imsc1_1/position003/html/56.000000.html | 13 -- .../imsc1_1/position003/html/57.000000.html | 13 -- .../imsc1_1/position003/html/58.000000.html | 13 -- .../imsc1_1/position003/html/59.000000.html | 13 -- .../imsc1_1/position003/html/6.000000.html | 13 -- .../imsc1_1/position003/html/60.000000.html | 13 -- .../imsc1_1/position003/html/61.000000.html | 13 -- .../imsc1_1/position003/html/62.000000.html | 2 - .../imsc1_1/position003/html/7.000000.html | 13 -- .../imsc1_1/position003/html/8.000000.html | 13 -- .../imsc1_1/position003/html/9.000000.html | 13 -- .../imsc1_1/ruby001/html/0.000000.html | 22 --- .../imsc1_1/ruby001/html/1.000000.html | 4 - .../imsc1_1/ruby002/html/0.000000.html | 35 ---- .../imsc1_1/ruby002/html/1.000000.html | 4 - .../imsc1_1/ruby003/html/0.000000.html | 30 --- .../imsc1_1/ruby003/html/1.000000.html | 4 - .../imsc1_1/ruby004/html/0.000000.html | 22 --- .../imsc1_1/ruby004/html/1.000000.html | 4 - .../imsc1_1/ruby005/html/0.000000.html | 39 ---- .../imsc1_1/ruby005/html/1.000000.html | 35 ---- .../imsc1_1/ruby005/html/2.000000.html | 40 ---- .../imsc1_1/ruby005/html/3.000000.html | 36 ---- .../imsc1_1/ruby005/html/4.000000.html | 40 ---- .../imsc1_1/ruby005/html/5.000000.html | 40 ---- .../imsc1_1/ruby005/html/6.000000.html | 4 - .../imsc1_1/ruby006/html/0.000000.html | 75 ------- .../imsc1_1/ruby006/html/1.000000.html | 6 - .../imsc1_1/rubyAlign001/html/0.000000.html | 22 --- .../imsc1_1/rubyAlign001/html/1.000000.html | 4 - .../imsc1_1/rubyAlign002/html/0.000000.html | 22 --- .../imsc1_1/rubyAlign002/html/1.000000.html | 4 - .../imsc1_1/rubyAlign003/html/0.000000.html | 22 --- .../imsc1_1/rubyAlign003/html/1.000000.html | 4 - .../imsc1_1/rubyAlign004/html/0.000000.html | 32 --- .../imsc1_1/rubyAlign004/html/1.000000.html | 27 --- .../imsc1_1/rubyAlign004/html/2.000000.html | 31 --- .../imsc1_1/rubyAlign004/html/3.000000.html | 31 --- .../imsc1_1/rubyAlign004/html/4.000000.html | 4 - .../imsc1_1/rubyReserve001/html/0.000000.html | 88 --------- .../imsc1_1/rubyReserve001/html/1.000000.html | 40 ---- .../imsc1_1/rubyReserve001/html/2.000000.html | 6 - .../imsc1_1/rubyReserve002/html/0.000000.html | 102 ---------- .../imsc1_1/rubyReserve002/html/1.000000.html | 103 ---------- .../imsc1_1/rubyReserve002/html/2.000000.html | 103 ---------- .../imsc1_1/rubyReserve002/html/3.000000.html | 104 ---------- .../imsc1_1/rubyReserve002/html/4.000000.html | 2 - .../imsc1_1/rubyReserve003/html/0.000000.html | 30 --- .../imsc1_1/rubyReserve003/html/1.000000.html | 30 --- .../imsc1_1/rubyReserve003/html/2.000000.html | 30 --- .../imsc1_1/rubyReserve003/html/3.000000.html | 32 --- .../imsc1_1/rubyReserve003/html/4.000000.html | 2 - .../imsc1_1/shear001/html/0.000000.html | 43 ---- .../imsc1_1/shear001/html/1.000000.html | 43 ---- .../imsc1_1/shear001/html/2.000000.html | 43 ---- .../imsc1_1/shear001/html/3.000000.html | 43 ---- .../imsc1_1/shear001/html/4.000000.html | 43 ---- .../imsc1_1/shear001/html/5.000000.html | 43 ---- .../imsc1_1/shear001/html/6.000000.html | 2 - .../imsc1_1/shear002/html/0.000000.html | 37 ---- .../imsc1_1/shear002/html/1.000000.html | 2 - .../imsc1_1/shear003/html/0.000000.html | 50 ----- .../imsc1_1/shear003/html/1.000000.html | 2 - .../imsc1_1/textCombine001/html/0.000000.html | 34 ---- .../imsc1_1/textCombine001/html/1.000000.html | 2 - .../imsc1_1/textCombine002/html/0.000000.html | 38 ---- .../imsc1_1/textCombine002/html/1.000000.html | 2 - .../textEmphasis001/html/0.000000.html | 77 -------- .../textEmphasis001/html/1.000000.html | 4 - .../textEmphasis002/html/0.000000.html | 18 -- .../textEmphasis002/html/1.000000.html | 4 - .../textEmphasis003/html/0.000000.html | 29 --- .../textEmphasis003/html/1.000000.html | 4 - .../textEmphasis004/html/0.000000.html | 17 -- .../textEmphasis004/html/1.000000.html | 16 -- .../textEmphasis004/html/2.000000.html | 17 -- .../textEmphasis004/html/3.000000.html | 16 -- .../textEmphasis004/html/4.000000.html | 17 -- .../textEmphasis004/html/5.000000.html | 16 -- .../textEmphasis004/html/6.000000.html | 17 -- .../textEmphasis004/html/7.000000.html | 16 -- .../textEmphasis004/html/8.000000.html | 2 - .../imsc1_1/textShadow001/html/0.000000.html | 20 -- src/test/webapp/js/gen-renders.js | 187 +++++++++--------- 1213 files changed, 167 insertions(+), 17531 deletions(-) create mode 100644 src/test/js/GenerateReferenceFilesTest.js delete mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html delete mode 100644 src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Br001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Br001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color009/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Color009/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Display004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Div003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html delete mode 100644 src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Span005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Style001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Style001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html delete mode 100644 src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/altText1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/altText1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/altText1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html delete mode 100644 src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html diff --git a/.github/workflows/ci.pr.yml b/.github/workflows/ci.pr.yml index fa65d1c7..f93af055 100644 --- a/.github/workflows/ci.pr.yml +++ b/.github/workflows/ci.pr.yml @@ -22,6 +22,9 @@ jobs: - name: Install run: npm ci + - name: Install Firefox + run: npm run install:firefox + - name: Lint run: npm run lint diff --git a/src/test/js/GenerateReferenceFilesTest.js b/src/test/js/GenerateReferenceFilesTest.js new file mode 100644 index 00000000..92626283 --- /dev/null +++ b/src/test/js/GenerateReferenceFilesTest.js @@ -0,0 +1,68 @@ +import assert from "node:assert"; +import fs from "node:fs/promises"; +import path from "node:path"; +import { test } from "node:test"; +import { fileURLToPath } from "node:url"; +import { withGenRendersPage } from "../script/lib/gen-renders-page.mjs"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const REFERENCE_FILES_ROOT = path.resolve(__dirname, "..", "resources", "reference-files"); + +const REFFILES_ROOTS = ["imsc-tests/imsc1", "imsc-tests/imsc1_1"]; + +async function listFilesRecursively(dir) { + const entries = await fs.readdir(dir, { withFileTypes: true, recursive: true }); + + return entries + .filter((entry) => entry.isFile()) + .map((entry) => path.relative(dir, path.join(entry.parentPath, entry.name)).split(path.sep).join("/")) + .sort(); +} + +async function generateAndCompare(browserProduct) { + + await withGenRendersPage(browserProduct, async (page) => { + + for (const reffilesRoot of REFFILES_ROOTS) { + + const generatedFiles = await page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + return await generateReferenceFiles(root); + }, reffilesRoot); + + const referenceDir = path.join(REFERENCE_FILES_ROOT, path.basename(reffilesRoot)); + + const generatedPaths = Object.keys(generatedFiles).sort(); + const referencePaths = await listFilesRecursively(referenceDir); + + assert.deepStrictEqual( + generatedPaths, + referencePaths, + `generated files for ${reffilesRoot} do not match the set of reference files at ${referenceDir}`, + ); + + for (const relativePath of generatedPaths) { + + const referenceContents = await fs.readFile(path.join(referenceDir, relativePath), "utf8"); + + assert.strictEqual( + generatedFiles[relativePath], + referenceContents, + `${reffilesRoot}/${relativePath} does not match its reference file`, + ); + + } + + } + + }); + +} + +test("Generated reference files match committed reference files (chrome)", { timeout: 120000 }, async () => { + await generateAndCompare("chrome"); +}); + +test("Generated reference files match committed reference files (firefox)", { timeout: 120000 }, async () => { + await generateAndCompare("firefox"); +}); diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html deleted file mode 100644 index 29f89123..00000000 --- a/src/test/resources/reference-files/imsc1/ActiveArea001/html/0.000000.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
-
-

- -This region is within the editorial area. - -

-
-
-
-
-
-
-

- -This region is within the editorial area. - -

-
-
-
-
-
-
-

- -This region is not. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html b/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html deleted file mode 100644 index 31b31ba9..00000000 --- a/src/test/resources/reference-files/imsc1/ActiveArea001/html/6.000000.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html deleted file mode 100644 index 9370fbe3..00000000 --- a/src/test/resources/reference-files/imsc1/Animation001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This background of this sentence should -change from red to blue at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation001/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html deleted file mode 100644 index b2a82714..00000000 --- a/src/test/resources/reference-files/imsc1/Animation001/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This background of this sentence should -change from red to blue at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html deleted file mode 100644 index 98f38ba1..00000000 --- a/src/test/resources/reference-files/imsc1/Animation002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text of this sentence should change -from white to yellow at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html deleted file mode 100644 index adb7d76c..00000000 --- a/src/test/resources/reference-files/imsc1/Animation002/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text of this sentence should change -from white to yellow at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation003/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html deleted file mode 100644 index 6fce5357..00000000 --- a/src/test/resources/reference-files/imsc1/Animation003/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text of this sentence should appear at -5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html deleted file mode 100644 index 61c7b76b..00000000 --- a/src/test/resources/reference-files/imsc1/Animation004/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text of this sentence should change from a serif to a sans serif -font at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation004/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html deleted file mode 100644 index 5b082f3f..00000000 --- a/src/test/resources/reference-files/imsc1/Animation004/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text of this sentence should change from a serif to a -sans serif font at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html deleted file mode 100644 index 5be6d74d..00000000 --- a/src/test/resources/reference-files/imsc1/Animation007/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This font of this sentence should go from -normal to bold at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation007/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html deleted file mode 100644 index ff92fadb..00000000 --- a/src/test/resources/reference-files/imsc1/Animation007/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This font of this sentence should go from -normal to bold at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html deleted file mode 100644 index 0a2a7b02..00000000 --- a/src/test/resources/reference-files/imsc1/Animation008/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This line height of this sentence should - -
- -go from normal to zero at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation008/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html deleted file mode 100644 index 1517a80f..00000000 --- a/src/test/resources/reference-files/imsc1/Animation008/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This line height of this sentence should - -
- -go from normal to zero at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html deleted file mode 100644 index 130f7aba..00000000 --- a/src/test/resources/reference-files/imsc1/Animation012/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This sentence should move right at 5s for 5 -seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html deleted file mode 100644 index 4e110426..00000000 --- a/src/test/resources/reference-files/imsc1/Animation012/html/10.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This sentence should move left at 6s for 4 -seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html deleted file mode 100644 index ca33e392..00000000 --- a/src/test/resources/reference-files/imsc1/Animation012/html/16.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This sentence should move left at 6s for 4 -seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation012/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html deleted file mode 100644 index 94c3c38d..00000000 --- a/src/test/resources/reference-files/imsc1/Animation012/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This sentence should move right at 5s for 5 -seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html deleted file mode 100644 index 30798e8e..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The line should move progressively down -through this sentence every 2 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html deleted file mode 100644 index 9b646dd1..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/2.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The line should move progressively down -through this sentence every 2 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html deleted file mode 100644 index a5963208..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/4.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The line should move progressively down -through this sentence every 2 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html b/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html deleted file mode 100644 index 7b78920e..00000000 --- a/src/test/resources/reference-files/imsc1/Animation013/html/6.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The line should move progressively down -through this sentence every 2 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html deleted file mode 100644 index 3c712209..00000000 --- a/src/test/resources/reference-files/imsc1/Animation014/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should be outlined in blurred red -from 5s to 10s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation014/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation014/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html deleted file mode 100644 index e4c43d6f..00000000 --- a/src/test/resources/reference-files/imsc1/Animation014/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should be outlined in blurred red -from 5s to 10s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html deleted file mode 100644 index b8b9ab8c..00000000 --- a/src/test/resources/reference-files/imsc1/Animation015/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should become invisible from 3s to -8s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation015/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html deleted file mode 100644 index 3016d9ea..00000000 --- a/src/test/resources/reference-files/imsc1/Animation015/html/3.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should become invisible from 3s to -8s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html b/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html deleted file mode 100644 index b8b9ab8c..00000000 --- a/src/test/resources/reference-files/imsc1/Animation015/html/8.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should become invisible from 3s to -8s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html deleted file mode 100644 index 2c52ead1..00000000 --- a/src/test/resources/reference-files/imsc1/Animation016/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation016/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html deleted file mode 100644 index 76ba07ce..00000000 --- a/src/test/resources/reference-files/imsc1/Animation016/html/3.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This text should start to wrap from 3s to 8s -it is a very long piece of text in order to -ensure that it does in fact hit the region -edges and thus require some wrapping action. -Wrapping is not required to support -hyphenation, so this text should wrap at -whole word boundaries. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html b/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html deleted file mode 100644 index 2c52ead1..00000000 --- a/src/test/resources/reference-files/imsc1/Animation016/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text should start to wrap from 3s to 8s it is a very long piece of text in order to ensure that it does in fact hit the region edges and thus require some wrapping action. Wrapping is not required to support hyphenation, so this text should wrap at whole word boundaries. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html deleted file mode 100644 index d0b875b9..00000000 --- a/src/test/resources/reference-files/imsc1/Animation017/html/0.000000.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
-
-

- -This text should appear from 0 to 5s - -

-
-
-
-
-
-
-

- -This text should appear from 5s to 10s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/Animation017/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html deleted file mode 100644 index 1b11d866..00000000 --- a/src/test/resources/reference-files/imsc1/Animation017/html/5.000000.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
-
-

- -This text should appear from 0 to 5s - -

-
-
-
-
-
-
-

- -This text should appear from 5s to 10s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html deleted file mode 100644 index 698a8da4..00000000 --- a/src/test/resources/reference-files/imsc1/Animation018/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The font family should become -"proportionalSansSerif" at 5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Animation018/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html b/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html deleted file mode 100644 index 53a8a1eb..00000000 --- a/src/test/resources/reference-files/imsc1/Animation018/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The font family should become "proportionalSansSerif" at -5s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html deleted file mode 100644 index b4db5435..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background is green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html deleted file mode 100644 index df4980fb..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background is light green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html deleted file mode 100644 index 0288737c..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -The background is green with 50% opacity. - - -This text is 100% green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html deleted file mode 100644 index e8289262..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background is magenta. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html deleted file mode 100644 index ec8c83a5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The background is magenta with 50% opacity. - -
- -This text is 100% magenta. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html deleted file mode 100644 index 59e00a2c..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background is transparent. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html deleted file mode 100644 index 0119fd39..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background color is blue. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html deleted file mode 100644 index b4db5435..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background is green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html deleted file mode 100644 index f9c28011..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The background color is magenta. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor009/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html deleted file mode 100644 index e36fc8ef..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -#FFFFFF - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html deleted file mode 100644 index a532965f..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -#FFFFFF7F - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html deleted file mode 100644 index 5036e99c..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -red - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html deleted file mode 100644 index b0718216..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/11.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -purple - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html deleted file mode 100644 index 6d1a85d4..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -fuchsia - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html deleted file mode 100644 index 58b4d485..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/13.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -magenta - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html deleted file mode 100644 index 16ca0674..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -green - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html deleted file mode 100644 index 6df6afa4..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -lime - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html deleted file mode 100644 index b216e793..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -olive - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html deleted file mode 100644 index bf50ddab..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/17.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -yellow - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html deleted file mode 100644 index d547e903..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -navy - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html deleted file mode 100644 index 6be94b36..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/19.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -blue - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html deleted file mode 100644 index 47005fb2..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -rgb(255,128,255) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html deleted file mode 100644 index 0b60a433..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -teal - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html deleted file mode 100644 index 898d568c..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/21.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -aqua - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html deleted file mode 100644 index df718d6d..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/22.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -cyan - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/23.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html deleted file mode 100644 index 2facfc40..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -rgba(128,255,255,63) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html deleted file mode 100644 index a995663e..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -transparent - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html deleted file mode 100644 index 0c8e60fd..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -black - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html deleted file mode 100644 index 45a7f9aa..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -silver - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html deleted file mode 100644 index 8e91b48c..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -gray - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html deleted file mode 100644 index 682ce299..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -white - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html b/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html deleted file mode 100644 index e7a2adf5..00000000 --- a/src/test/resources/reference-files/imsc1/BackgroundColor010/html/9.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -maroon - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html deleted file mode 100644 index 95f5b43d..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This first sentence persists for 5 seconds. - - - - - -This second sentence persists for 10 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html deleted file mode 100644 index ed3a1ecf..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment001/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This second sentence persists for 10 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html deleted file mode 100644 index 95f5b43d..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This first sentence persists for 5 seconds. - - - - - -This second sentence persists for 10 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html deleted file mode 100644 index 001c0bf4..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/10.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This sentence appears at 10 seconds and -persists for 10 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html deleted file mode 100644 index ed3a1ecf..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment002/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This second sentence persists for 10 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html deleted file mode 100644 index 129a9831..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment003/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This first sentence begins at 5 seconds and -persists for 5 seconds. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html deleted file mode 100644 index 129a9831..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTimeContainment004/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This first sentence begins at 5 seconds and -persists for 5 seconds. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming001/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html deleted file mode 100644 index 58f7dcf1..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming001/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds - -
- -and be remain visible to 20 seconds. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming001/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming002/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html deleted file mode 100644 index ffcde8cc..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming002/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds - -
- -and remain visible to 20 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming003/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html deleted file mode 100644 index ffcde8cc..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming003/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds - -
- -and remain visible to 20 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html deleted file mode 100644 index d8019d30..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html deleted file mode 100644 index 2caed893..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/1.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html deleted file mode 100644 index c0021b58..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html deleted file mode 100644 index 4a7258b5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/11.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html deleted file mode 100644 index 2b331872..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/12.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html deleted file mode 100644 index cc0b7188..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/13.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html deleted file mode 100644 index 0913d8d2..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/14.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html deleted file mode 100644 index 7b2454b4..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html deleted file mode 100644 index fca8807a..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/2.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html deleted file mode 100644 index 290a8b2a..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/3.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html deleted file mode 100644 index deb943a4..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/4.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html deleted file mode 100644 index 7f8a5070..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html deleted file mode 100644 index cc0b7188..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/6.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html deleted file mode 100644 index 906f3cb8..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/7.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html deleted file mode 100644 index 77623a52..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/8.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html deleted file mode 100644 index 7d010144..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming005/html/9.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must start to appear at 1 seconds - -
- -and fade in to 10 seconds then fade out to 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html deleted file mode 100644 index abb04bc1..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming006/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This text must appear at 0 seconds and -disappear at 15 seconds - -
- -This text must also appear at 0 seconds and -disappear at 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming006/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming007/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming007/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming007/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html deleted file mode 100644 index 3418f6fc..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming007/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should appear at 5 seconds and -stay till 15 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html deleted file mode 100644 index 7868ea20..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/1.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- - -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html deleted file mode 100644 index fb5ce046..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/2.000000.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
-
-

- - - -This text must appear at 2 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/21.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/22.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/23.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/24.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/26.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html deleted file mode 100644 index f374ba0d..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/3.000000.html +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
-
-

- - - - -This text must appear at 3 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 2 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html deleted file mode 100644 index 184bf26f..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/4.000000.html +++ /dev/null @@ -1,38 +0,0 @@ -
-
-
-
-

- - - - - -This text must appear at 4 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 3 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 2 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html deleted file mode 100644 index 2d33ae65..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/5.000000.html +++ /dev/null @@ -1,45 +0,0 @@ -
-
-
-
-

- - - - - - -This text must appear at 5 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 4 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 3 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 2 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html deleted file mode 100644 index b26bc031..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming008/html/6.000000.html +++ /dev/null @@ -1,52 +0,0 @@ -
-
-
-
-

- - - - - - - -This text must appear at 6 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 5 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 4 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 3 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 2 seconds and -disappear at 15 seconds - -
-
- -This text must appear at 1 seconds and -disappear at 15 seconds - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html deleted file mode 100644 index 35d26227..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/10.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds and -disappear at 24.4 seconds - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html deleted file mode 100644 index 43d8d785..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/24.400000.html +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-

-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html deleted file mode 100644 index 8f98b12a..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/25.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

-
- -This text must appear at 25 seconds and -disappear at 35 seconds - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html deleted file mode 100644 index 43d8d785..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/35.000000.html +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-

-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming010/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html deleted file mode 100644 index 4a9fb4ba..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html deleted file mode 100644 index f726a7cd..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.187500.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html deleted file mode 100644 index 05f32f6a..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.375000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -This - - -text - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html deleted file mode 100644 index e2ce0d80..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.562500.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html deleted file mode 100644 index 12fa2921..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.750000.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html deleted file mode 100644 index 22169d32..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/0.937500.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html deleted file mode 100644 index c65582f5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.125000.html +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html deleted file mode 100644 index 2edc12b2..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.312500.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html deleted file mode 100644 index 07045a92..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.500000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html deleted file mode 100644 index d7472e2b..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.687500.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html deleted file mode 100644 index 964a5bb7..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/1.875000.html +++ /dev/null @@ -1,49 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html deleted file mode 100644 index 6fe0f4cb..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.062500.html +++ /dev/null @@ -1,52 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html deleted file mode 100644 index 59935cac..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.250000.html +++ /dev/null @@ -1,55 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - - -four - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html deleted file mode 100644 index 3ee98f96..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.437500.html +++ /dev/null @@ -1,61 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - - -four - - - -lines - -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html deleted file mode 100644 index a2d77fbb..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.625000.html +++ /dev/null @@ -1,64 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - - -four - - - -lines - -
-
- -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html deleted file mode 100644 index bc943218..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/2.812500.html +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - - -four - - - -lines - -
-
- -
-
- -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html deleted file mode 100644 index 5691e37f..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming011/html/3.000000.html +++ /dev/null @@ -1,70 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -
- -appear - -
- -one - - -word - - -
- -At - -
- -a - - -time - - -
- -spread - -
- -over - - -four - - - -lines - -
-
- -
-
- -
-
- -
-
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html deleted file mode 100644 index d753ab03..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html deleted file mode 100644 index 9dc95f23..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.187500.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html deleted file mode 100644 index d25021fd..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.375000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -This - - -text - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html deleted file mode 100644 index 17d2dab6..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.562500.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html deleted file mode 100644 index b13f4d19..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.750000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html deleted file mode 100644 index 79d3f3c5..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/0.937500.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html deleted file mode 100644 index a48abc37..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.125000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html deleted file mode 100644 index 24cf2089..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.312500.html +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html deleted file mode 100644 index 5d36eeec..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.500000.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html deleted file mode 100644 index 18297f3a..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.687500.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html deleted file mode 100644 index 9e1854c2..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/1.875000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html deleted file mode 100644 index 713d73d4..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.062500.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html deleted file mode 100644 index c3380d12..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.250000.html +++ /dev/null @@ -1,46 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html deleted file mode 100644 index 0b8806a8..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.437500.html +++ /dev/null @@ -1,49 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html deleted file mode 100644 index 13bac0e1..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.625000.html +++ /dev/null @@ -1,52 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html deleted file mode 100644 index f1401f28..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/2.812500.html +++ /dev/null @@ -1,55 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html deleted file mode 100644 index 4c067858..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.000000.html +++ /dev/null @@ -1,58 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html deleted file mode 100644 index 7f699ca6..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.187500.html +++ /dev/null @@ -1,61 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - - - - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html b/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html deleted file mode 100644 index e4154131..00000000 --- a/src/test/resources/reference-files/imsc1/BasicTiming012/html/3.375000.html +++ /dev/null @@ -1,64 +0,0 @@ -
-
-
-
-

- -This - - -text - - -should - - -appear - - -on - - -one - - -line - - -scrolling - - -from - - -right - - -to - - -left - - - - - - - - - - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html deleted file mode 100644 index 107f90eb..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This test is going to display a message - -
- -every other second. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html deleted file mode 100644 index f800b3be..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 10s to 11s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/11.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html deleted file mode 100644 index 7e99a546..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 12s to 13s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/13.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html deleted file mode 100644 index c36fafe7..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 14s to 15s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html deleted file mode 100644 index 505e4e3f..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 16s to 17s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/17.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html deleted file mode 100644 index 69f9fb97..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -and, from 18s to 19s. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/19.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html deleted file mode 100644 index 82d995bf..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html deleted file mode 100644 index 74b9cb21..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -From 6s to 7s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/7.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html deleted file mode 100644 index 87bb5219..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 8s to 9s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginDur001/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html deleted file mode 100644 index 107f90eb..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This test is going to display a message - -
- -every other second. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html deleted file mode 100644 index f800b3be..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 10s to 11s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/11.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html deleted file mode 100644 index 7e99a546..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 12s to 13s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/13.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html deleted file mode 100644 index c36fafe7..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 14s to 15s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html deleted file mode 100644 index 505e4e3f..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 16s to 17s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/17.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html deleted file mode 100644 index 69f9fb97..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -and, from 18s to 19s. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/19.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html deleted file mode 100644 index 82d995bf..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html deleted file mode 100644 index 74b9cb21..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -From 6s to 7s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/7.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html deleted file mode 100644 index 87bb5219..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 8s to 9s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd001/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html deleted file mode 100644 index 9d60dec2..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html deleted file mode 100644 index a3962466..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/1.000000.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html deleted file mode 100644 index fa62744a..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/10.000000.html +++ /dev/null @@ -1,107 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html deleted file mode 100644 index 67936e7a..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/11.000000.html +++ /dev/null @@ -1,112 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html deleted file mode 100644 index b7043f53..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/2.000000.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html deleted file mode 100644 index fa62744a..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/20.000000.html +++ /dev/null @@ -1,107 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html deleted file mode 100644 index 23342dec..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/3.000000.html +++ /dev/null @@ -1,44 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html deleted file mode 100644 index d8cf0f3e..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/4.000000.html +++ /dev/null @@ -1,53 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html deleted file mode 100644 index 43f7f9e2..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/5.000000.html +++ /dev/null @@ -1,62 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html deleted file mode 100644 index b96d7438..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/6.000000.html +++ /dev/null @@ -1,71 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html deleted file mode 100644 index 1cbfbc05..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/7.000000.html +++ /dev/null @@ -1,80 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html deleted file mode 100644 index bb540a29..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/8.000000.html +++ /dev/null @@ -1,89 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html deleted file mode 100644 index c5a6d19e..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd002/html/9.000000.html +++ /dev/null @@ -1,98 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html deleted file mode 100644 index 107f90eb..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This test is going to display a message - -
- -every other second. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html deleted file mode 100644 index f800b3be..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 10s to 11s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/11.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html deleted file mode 100644 index 7e99a546..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 12s to 13s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/13.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html deleted file mode 100644 index c36fafe7..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 14s to 15s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html deleted file mode 100644 index 505e4e3f..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 16s to 17s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/17.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html deleted file mode 100644 index 69f9fb97..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -and, from 18s to 19s. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/19.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html deleted file mode 100644 index 82d995bf..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html deleted file mode 100644 index 74b9cb21..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -From 6s to 7s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/7.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html deleted file mode 100644 index 87bb5219..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -from 8s to 9s, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html b/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/BeginEnd003/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html deleted file mode 100644 index e4374763..00000000 --- a/src/test/resources/reference-files/imsc1/Br001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must be on the first line. - -
- -This text on a second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Br001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Color001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Color002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html deleted file mode 100644 index 0fab0bfb..00000000 --- a/src/test/resources/reference-files/imsc1/Color003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This is the red color as a reference. - -
- -This text must be semi-transparent red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html deleted file mode 100644 index c16dfda8..00000000 --- a/src/test/resources/reference-files/imsc1/Color004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html deleted file mode 100644 index ec73ebbb..00000000 --- a/src/test/resources/reference-files/imsc1/Color005/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This is the green color as a reference. - -
- -This text must be semi-transparent green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html deleted file mode 100644 index 4152bf4d..00000000 --- a/src/test/resources/reference-files/imsc1/Color007/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -You must not see the word " - - -transparent - - -". - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html deleted file mode 100644 index 9b4abcc1..00000000 --- a/src/test/resources/reference-files/imsc1/Color008/html/0.000000.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
-
-
-

- -This word must be - - -red - -
- -and this one - - -green - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html b/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Color009/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html b/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Color009/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html deleted file mode 100644 index 5df9e292..00000000 --- a/src/test/resources/reference-files/imsc1/Direction001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html deleted file mode 100644 index 5df9e292..00000000 --- a/src/test/resources/reference-files/imsc1/Direction002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html deleted file mode 100644 index e836e5d2..00000000 --- a/src/test/resources/reference-files/imsc1/Direction003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html deleted file mode 100644 index d0d50187..00000000 --- a/src/test/resources/reference-files/imsc1/Direction004/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The last three words are displayed - -
- -right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html deleted file mode 100644 index e836e5d2..00000000 --- a/src/test/resources/reference-files/imsc1/Direction005/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html deleted file mode 100644 index b01bca90..00000000 --- a/src/test/resources/reference-files/imsc1/Direction006/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The last three words are displayed - -
- -left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html b/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Direction006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html deleted file mode 100644 index aeeb8ed9..00000000 --- a/src/test/resources/reference-files/imsc1/Display001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Display001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html deleted file mode 100644 index 269946d8..00000000 --- a/src/test/resources/reference-files/imsc1/Display002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Only the first caption is visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Display002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Display002/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Display004/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Display004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html deleted file mode 100644 index 816be031..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is aligned with - -
- -the before edge of the region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html deleted file mode 100644 index 76f4a66a..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is aligned with - -
- -the after edge of the region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html deleted file mode 100644 index b84d503c..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html deleted file mode 100644 index f188ea0b..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is aligned in - -
- -the center of the region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html deleted file mode 100644 index cbeaf967..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html deleted file mode 100644 index 9090ccff..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -あいAB34三四 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/DisplayAlign004/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html deleted file mode 100644 index 65b61891..00000000 --- a/src/test/resources/reference-files/imsc1/Div001/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-
-

- -This text must be red. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html deleted file mode 100644 index b360c69b..00000000 --- a/src/test/resources/reference-files/imsc1/Div001/html/10.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-
-

- -This test is over. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div001/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div001/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html deleted file mode 100644 index 48d5911b..00000000 --- a/src/test/resources/reference-files/imsc1/Div001/html/5.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-
-

- -This text must be green. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html deleted file mode 100644 index 82d995bf..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html deleted file mode 100644 index c16dfda8..00000000 --- a/src/test/resources/reference-files/imsc1/Div002/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be green. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html deleted file mode 100644 index 3fde9fe1..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -このテキストは赤くなければならない。 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html deleted file mode 100644 index 82d995bf..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html deleted file mode 100644 index 8c0fff3d..00000000 --- a/src/test/resources/reference-files/imsc1/Div003/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Ce texte doit être vert. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html deleted file mode 100644 index f4ef6163..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/0.760000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -It seems a paradox, does it not, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html deleted file mode 100644 index 13e53159..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -It is puzzling, why is it - -
- -we do not see things upside-down? - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/16.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html deleted file mode 100644 index 12f82da8..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/17.200000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -You have never heard the Theory, - -
- -then, that the Brain also is inverted? - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html deleted file mode 100644 index 61ff9772..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/23.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -No indeed! What a beautiful fact! - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/27.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html deleted file mode 100644 index 4ce09f6a..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/28.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -But how is it proved? - -

-

- -Thus: what we call - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/3.450000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html deleted file mode 100644 index 2f783f41..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/34.600000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -the vertex of the Brain - -
- -is really its base - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html deleted file mode 100644 index 25b3dc01..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/45.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -and what we call its base - -
- -is really its vertex, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html deleted file mode 100644 index 85047b9c..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -that the image formed on - -
- -the Retina should be inverted? - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/52.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html deleted file mode 100644 index 95ac02b8..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/53.500000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -it is simply a question of nomenclature. - -

-

- -How truly delightful! - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html b/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample120/html/58.700000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html deleted file mode 100644 index 9b154a44..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample822/html/0.000000.html +++ /dev/null @@ -1,23 +0,0 @@ -
-
-
-
-

- -Twinkle, twinkle, little bat! - -
- -How - - -I wonder - - - where you're at! - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample822/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html deleted file mode 100644 index 62c57477..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample823/html/0.000000.html +++ /dev/null @@ -1,23 +0,0 @@ -
-
-
-
-

- -In spring, when woods are - - -getting green - - -, - -
- -I'll try and tell you what I mean. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample823/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html deleted file mode 100644 index bd44d3b4..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample824/html/0.000000.html +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
-
-

- -Little birds are playing - -
- -Bagpipes on the shore, - -
- -where the tourists snore. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample824/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html deleted file mode 100644 index e5e4d512..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -[[[ - - -]]] - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html deleted file mode 100644 index a775681b..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/1.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -[[[ - - -Beautiful soup, - - -]]] - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html deleted file mode 100644 index 3f319c58..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/2.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -[[[ - - -so rich and green, - - -]]] - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html deleted file mode 100644 index 14b1b055..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/3.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -[[[ - - -waiting in a hot tureen! - - -]]] - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html deleted file mode 100644 index e5e4d512..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/4.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -[[[ - - -]]] - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html b/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/DocumentExample825/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html deleted file mode 100644 index fc02cee2..00000000 --- a/src/test/resources/reference-files/imsc1/Extent001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The extent of this region has - -
- -the same dimensions as the root container. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html deleted file mode 100644 index 8db518ca..00000000 --- a/src/test/resources/reference-files/imsc1/Extent001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html deleted file mode 100644 index 6ed4512d..00000000 --- a/src/test/resources/reference-files/imsc1/Extent002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The extent of this -region is - -
- -150px wide by 75px -tall. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html deleted file mode 100644 index 9da57bc3..00000000 --- a/src/test/resources/reference-files/imsc1/Extent002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html deleted file mode 100644 index 0f0593dd..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap001/html/0.000000.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-

- -##Line gaps## - -
- -The quick - - -brown - - - fox - -
- -jumps over the - - -lazy - - - dog - -
- -##Line gaps## - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap001/html/30.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html deleted file mode 100644 index f4358ed1..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap002/html/0.000000.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
-
-

- -Paragraph 1 - -

-

- -Paragraph 2 - -

-
-
-
-
-
-
-

- -Paragraph 1 - -

-

- -Paragraph 2 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap002/html/30.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html deleted file mode 100644 index 07dea362..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/0.000000.html +++ /dev/null @@ -1,32 +0,0 @@ -
-
-
-
-

- -tts:wrapOption = wrap - - - -Line break inside the span: - -
- -Second line. - -
- - - - -Line break between spans: - -
- -Second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html deleted file mode 100644 index 736dff7b..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/10.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="normal" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html deleted file mode 100644 index d869e157..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/15.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="100%" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html deleted file mode 100644 index 3e19a04b..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/20.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="120%" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html deleted file mode 100644 index 3c8338f6..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/25.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="80%" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html deleted file mode 100644 index fe8bee1c..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/30.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="150%" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html deleted file mode 100644 index 3f2c3f4b..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/35.000000.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-

- -tts:lineHeight="250%" - - - -! " # $ % & ' ( ) * + , - . - -
- -/ 0 1 2 3 4 5 6 7 8 9 : ; > = < ? @ - -
- -A B C D E H I - - -J K L N O P Q R S T U -V W X Y Z [ \ ] ^ _ ` - - -a b c d e h i j k l n o p q r - - - - - - -s t u v -w x y z { | } ~ ¡ ¢ £ ¥ § ¤ ‘ “ « ← ↑ → ↓ - -
-
- - -° ± ² ³ × µ ¶ · ÷ ’ ” » ¼ ½ ¾ ¿ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̊ ̧ ̋ - -
-
- - -̨ ― ¹ ® © ™ ♪ ¬ ¦ ⅛ ⅜ ⅝ ⅞ Ω Æ Đ ª Ħ IJ Ŀ Ł Ø Œ Þ Ŧ - -
- -Ŋ ʼn ĸ æ đ ð ħ ı ij ŀ ł ø œ ß þ ŧ ŋ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/40.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html deleted file mode 100644 index 32d2c211..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap003/html/5.000000.html +++ /dev/null @@ -1,32 +0,0 @@ -
-
-
-
-

- -tts:wrapOption = noWrap - - - -Line break inside the span: - -
- -Second line. - -
- - - - -Line break between spans: - -
- -Second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html deleted file mode 100644 index ed263600..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap004/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -hello - - - -みなさん、 - -
- -こんにちは - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html b/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/FillLineGap004/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html deleted file mode 100644 index 01825aa9..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html deleted file mode 100644 index e3d7eb83..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/1.000000.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html deleted file mode 100644 index 8f275a3f..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/10.000000.html +++ /dev/null @@ -1,107 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html deleted file mode 100644 index 1dee2039..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/11.000000.html +++ /dev/null @@ -1,112 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-

- -This test is over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html deleted file mode 100644 index 8a83d6fe..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/2.000000.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html deleted file mode 100644 index 8f275a3f..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/20.000000.html +++ /dev/null @@ -1,107 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -10 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html deleted file mode 100644 index 40fb32a0..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/3.000000.html +++ /dev/null @@ -1,44 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html deleted file mode 100644 index 792d7017..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/4.000000.html +++ /dev/null @@ -1,53 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html deleted file mode 100644 index 76e7764e..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/5.000000.html +++ /dev/null @@ -1,62 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html deleted file mode 100644 index 86fd5527..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/6.000000.html +++ /dev/null @@ -1,71 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html deleted file mode 100644 index 5b737dbb..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/7.000000.html +++ /dev/null @@ -1,80 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html deleted file mode 100644 index a034a473..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/8.000000.html +++ /dev/null @@ -1,89 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html b/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html deleted file mode 100644 index b28b47aa..00000000 --- a/src/test/resources/reference-files/imsc1/FixedBeginEnd002/html/9.000000.html +++ /dev/null @@ -1,98 +0,0 @@ -
-
-
-
-

- -This test counts from 0 to 10 in 10 seconds. - -
- -0 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -1 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -2 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -3 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -4 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -5 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -6 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -7 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -8 - -

-

- -This test counts from 0 to 10 in 10 seconds. - -
- -9 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html deleted file mode 100644 index 77b67309..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily001/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a monospace -font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html deleted file mode 100644 index 3d0c5c87..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a sansSerif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html deleted file mode 100644 index db338b06..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily003/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a serif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html deleted file mode 100644 index 4ae60681..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily004/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a -monospaceSansSerif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html deleted file mode 100644 index 6ce6c730..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily005/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a -monospaceSerif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html deleted file mode 100644 index f092ae14..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily006/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a -proportionalSansSerif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html deleted file mode 100644 index d3b9e9b5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily007/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a proportionalSerif font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html deleted file mode 100644 index d7750e44..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily008/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a Times New Roman -font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html deleted file mode 100644 index 13f890ac..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily009/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last words must be - - -using a Times New Roman -font - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontFamily009/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html deleted file mode 100644 index 7bd504b9..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be in - - -24px - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html deleted file mode 100644 index 8f4574a0..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be in - - -2em - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html deleted file mode 100644 index 1e22fb0c..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize004/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be in - - -150% - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontSize004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html deleted file mode 100644 index 3053bc31..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last words must - - -not be italic - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html deleted file mode 100644 index 43142d2a..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be in - - -italic - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html deleted file mode 100644 index db163d1c..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle003/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be in - - -oblique - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontStyle003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html deleted file mode 100644 index 3ab2f1ad..00000000 --- a/src/test/resources/reference-files/imsc1/FontWeight001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last words must - - -not be bold - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontWeight001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html b/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html deleted file mode 100644 index 387daf39..00000000 --- a/src/test/resources/reference-files/imsc1/FontWeight002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word must be - - -bold - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html b/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/FontWeight002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html deleted file mode 100644 index f8b6cd76..00000000 --- a/src/test/resources/reference-files/imsc1/Foreign001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Foreign001/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html deleted file mode 100644 index 9b33f027..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The line height of this - -
- -two-row caption is normal. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html deleted file mode 100644 index 9b33f027..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The line height of this - -
- -two-row caption is normal. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html deleted file mode 100644 index 2c45f9d3..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The line height of this - -
- -two-row caption is 30 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html b/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html deleted file mode 100644 index 7d8a3594..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight006/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The line height of this - -
- -two-row caption is 2em. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html b/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LineHeight006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html b/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html deleted file mode 100644 index 72e4d9c9..00000000 --- a/src/test/resources/reference-files/imsc1/LinePadding005/html/0.000000.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
-
-

- -نشاط التدويل، W3C - -

-
-
-
-
-
-
-

- -hello - - - -みなさん、 - -
- -こんにちは - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html b/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/LinePadding005/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LinePadding006/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html deleted file mode 100644 index fc655ee6..00000000 --- a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.459000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -Lorem ipsum dolor sit amet, consectetur - -
- -adipiscing elit - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html b/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/LinePadding006/html/2.726000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html deleted file mode 100644 index aaab2220..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/10.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds - -
- -and be remain visible to 20 seconds, - -
-

-

- -This text must appear at 5 seconds - -
- -and be remain visible to 15 seconds, - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html deleted file mode 100644 index 8adb0654..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/15.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This text must appear at 10 seconds - -
- -and be remain visible to 20 seconds, - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html deleted file mode 100644 index f395df29..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming001/html/5.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 15 seconds, - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html deleted file mode 100644 index a2c59d6a..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming002/html/5.000000.html +++ /dev/null @@ -1,39 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-

- -This text must appear at 5 seconds - -
- -and remain visible to 10 seconds - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html deleted file mode 100644 index 135d5580..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 0 seconds - -
- -and be remain visible to 5 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html deleted file mode 100644 index ccbbf81d..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/10.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 10 seconds - -
- -and be remain visible to 20 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html deleted file mode 100644 index 6287f431..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/15.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 15 seconds - -
- -and be remain visible to 20 seconds. - -

-

- -This text must appear at 10 seconds - -
- -and be remain visible to 20 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html deleted file mode 100644 index 98de1994..00000000 --- a/src/test/resources/reference-files/imsc1/MediaParTiming003/html/5.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html deleted file mode 100644 index 3be43070..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/15.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must appear at 15 seconds - -
- -and be remain visible to 20 seconds, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html deleted file mode 100644 index 912be2f8..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming001/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html deleted file mode 100644 index 8e4e3043..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/15.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 15 seconds - -
- -and be remain visible to 20 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html deleted file mode 100644 index e5378289..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/25.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 25 seconds - -
- -and be remain visible to 30 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/30.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html deleted file mode 100644 index 1cfaf057..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/35.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 35 seconds - -
- -and be remain visible to 40 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html deleted file mode 100644 index 98de1994..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming002/html/5.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html deleted file mode 100644 index e5378289..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/25.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 25 seconds - -
- -and be remain visible to 30 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/30.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html deleted file mode 100644 index 1cfaf057..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/35.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 35 seconds - -
- -and be remain visible to 40 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming003/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html deleted file mode 100644 index 8e4e3043..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/15.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 15 seconds - -
- -and be remain visible to 20 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/30.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/35.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html deleted file mode 100644 index 98de1994..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming004/html/5.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html deleted file mode 100644 index 8e4e3043..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/15.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 15 seconds - -
- -and be remain visible to 20 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html deleted file mode 100644 index e5378289..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/25.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 25 seconds - -
- -and be remain visible to 30 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/30.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/35.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/40.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html deleted file mode 100644 index 98de1994..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming005/html/5.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html deleted file mode 100644 index bfc7cbc2..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming006/html/5.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds. - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/25.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/30.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html b/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html deleted file mode 100644 index dc76d53d..00000000 --- a/src/test/resources/reference-files/imsc1/MediaSeqTiming007/html/5.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-
-

- -This text must appear at 5 seconds - -
- -and be remain visible to 10 seconds, - -

-
-
-

- -This text must appear at 5 seconds - -
- -and remain visible to 10 seconds - -

-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html deleted file mode 100644 index 846c242b..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region and text have an opacity of 1.00 -(100% opaque). - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html deleted file mode 100644 index 9cc1062b..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html deleted file mode 100644 index cf797c89..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region and text have an opacity of 0.50 -(50% opaque). - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html deleted file mode 100644 index e118d8f6..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html deleted file mode 100644 index f2e0eb53..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity003/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region and text have an opacity of 0.10 -(10% opaque). - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html deleted file mode 100644 index 1f9aa46d..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html deleted file mode 100644 index 71011ec5..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity004/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-
-
-

- -The red region and text have an -opacity of 0.60 (60% opaque). - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html deleted file mode 100644 index 3288fe40..00000000 --- a/src/test/resources/reference-files/imsc1/Opacity004/html/10.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html deleted file mode 100644 index 4ab42481..00000000 --- a/src/test/resources/reference-files/imsc1/Origin001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region originates at the same X and Y -coordinates as the root container. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/Origin001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html deleted file mode 100644 index 6084fc7d..00000000 --- a/src/test/resources/reference-files/imsc1/Origin002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region originates at -X=30px and Y=30px. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html deleted file mode 100644 index 68227094..00000000 --- a/src/test/resources/reference-files/imsc1/Origin002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html deleted file mode 100644 index ec034a84..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -None of this text is visible outside the text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html deleted file mode 100644 index 0e99ad61..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html deleted file mode 100644 index c088e131..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Some of this text is visible outside the text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html deleted file mode 100644 index 9d549368..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html deleted file mode 100644 index 47f20a70..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow003/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -Text is visible -below the after -edge of the text -region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html deleted file mode 100644 index 5951f9a4..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html deleted file mode 100644 index f54f16fb..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow004/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -Text is not -visible below the -after edge of the -text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html deleted file mode 100644 index 39bd01bb..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html deleted file mode 100644 index f54f16fb..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow005/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -Text is not -visible below the -after edge of the -text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html deleted file mode 100644 index 39bd01bb..00000000 --- a/src/test/resources/reference-files/imsc1/Overflow005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html deleted file mode 100644 index 90cf70a8..00000000 --- a/src/test/resources/reference-files/imsc1/Padding001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -All the edges are padded - -
- -by 20 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html deleted file mode 100644 index 9a2fdc7d..00000000 --- a/src/test/resources/reference-files/imsc1/Padding001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html deleted file mode 100644 index 813fcd2c..00000000 --- a/src/test/resources/reference-files/imsc1/Padding002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The before and after edges - -
- -are padded by 10 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html deleted file mode 100644 index 52d83603..00000000 --- a/src/test/resources/reference-files/imsc1/Padding002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html deleted file mode 100644 index 2111123b..00000000 --- a/src/test/resources/reference-files/imsc1/Padding002/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The start and end edges - -
- -are padded by 30 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html deleted file mode 100644 index fca42a09..00000000 --- a/src/test/resources/reference-files/imsc1/Padding003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The before edge - -
- -is padded by 10 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html deleted file mode 100644 index 344b6fc6..00000000 --- a/src/test/resources/reference-files/imsc1/Padding003/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The after edge - -
- -is padded by 40 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html deleted file mode 100644 index 56c41701..00000000 --- a/src/test/resources/reference-files/imsc1/Padding003/html/15.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html deleted file mode 100644 index ca9676ab..00000000 --- a/src/test/resources/reference-files/imsc1/Padding003/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The start and end edges - -
- -are padded by 20 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html deleted file mode 100644 index 67ffaaba..00000000 --- a/src/test/resources/reference-files/imsc1/Padding004/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The before edge - -
- -is padded by 10 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html deleted file mode 100644 index 25ca7839..00000000 --- a/src/test/resources/reference-files/imsc1/Padding004/html/10.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The after edge - -
- -is padded by 30 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html deleted file mode 100644 index bed5875b..00000000 --- a/src/test/resources/reference-files/imsc1/Padding004/html/15.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The start edge - -
- -is padded by 40 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html deleted file mode 100644 index 782c9ae9..00000000 --- a/src/test/resources/reference-files/imsc1/Padding004/html/20.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html b/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html deleted file mode 100644 index e07ea89c..00000000 --- a/src/test/resources/reference-files/imsc1/Padding004/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The end edge - -
- -is padded by 20 pixels. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html deleted file mode 100644 index 53960f37..00000000 --- a/src/test/resources/reference-files/imsc1/Padding006/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -All the edges are padded - -
- -by 2em. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html deleted file mode 100644 index af5dd93c..00000000 --- a/src/test/resources/reference-files/imsc1/Padding006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html b/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html deleted file mode 100644 index bfd3a0dc..00000000 --- a/src/test/resources/reference-files/imsc1/Padding007/html/0.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -All the edges are -padded - -
- -by 20%. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html b/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html deleted file mode 100644 index f50fc7c5..00000000 --- a/src/test/resources/reference-files/imsc1/Padding007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html deleted file mode 100644 index f8b6cd76..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html deleted file mode 100644 index f8b6cd76..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html deleted file mode 100644 index c47b50d2..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be red. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html deleted file mode 100644 index 251faf10..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must appear on one line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html deleted file mode 100644 index dfa4ac2a..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph005/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -This text - - must appear on two lines. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Paragraph005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html b/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html deleted file mode 100644 index feea5df2..00000000 --- a/src/test/resources/reference-files/imsc1/Parameters006/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This test reserved for the profile/feature -test - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html deleted file mode 100644 index 35c9576a..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The magenta background is -always visible, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html deleted file mode 100644 index 93ec188c..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground001/html/12.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html deleted file mode 100644 index 93ec188c..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground001/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html deleted file mode 100644 index f78251b5..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground001/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -even when there is no text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html deleted file mode 100644 index 5678664e..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The magenta background is -only visible - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground002/html/12.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground002/html/5.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html b/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html deleted file mode 100644 index 56432670..00000000 --- a/src/test/resources/reference-files/imsc1/ShowBackground002/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -when you see this text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html deleted file mode 100644 index ce4e611c..00000000 --- a/src/test/resources/reference-files/imsc1/Span001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This text must be - - -visible - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Span001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html deleted file mode 100644 index 4cece32a..00000000 --- a/src/test/resources/reference-files/imsc1/Span002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -This word must be - - -red - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Span002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html deleted file mode 100644 index c2592170..00000000 --- a/src/test/resources/reference-files/imsc1/Span003/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- - -This text must be green. - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Span003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html deleted file mode 100644 index 1d50049c..00000000 --- a/src/test/resources/reference-files/imsc1/Span004/html/0.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -Some of this text must - - - -red - - -and - - - - - -green - - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Span004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html b/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html deleted file mode 100644 index ce356ef0..00000000 --- a/src/test/resources/reference-files/imsc1/Span005/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -This text must - - - -appear - -
- -on two lines. - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html b/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Span005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html deleted file mode 100644 index f8b6cd76..00000000 --- a/src/test/resources/reference-files/imsc1/Structure001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must be visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Structure001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Structure002/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html deleted file mode 100644 index 082ab277..00000000 --- a/src/test/resources/reference-files/imsc1/Style001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This caption is aligned in the center, has a -blue background and undecorated yellow text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Style001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html deleted file mode 100644 index 4369e2ef..00000000 --- a/src/test/resources/reference-files/imsc1/Styling001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This caption is aligned in the center, has a -blue background, red text and no decoration. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Styling001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html b/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html deleted file mode 100644 index 158f12d2..00000000 --- a/src/test/resources/reference-files/imsc1/Styling001/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This caption is left aligned, has a green -background and blue underlined text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html deleted file mode 100644 index fb02f3bc..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This caption is on the right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html deleted file mode 100644 index 0fdd88f8..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This caption is on the left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html deleted file mode 100644 index dcf3b710..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This caption is in the center. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign004/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html deleted file mode 100644 index 711f3a21..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign004/html/1.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This caption is placed - -
- -in the center. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html deleted file mode 100644 index e29b6c7a..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign005/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This caption is aligned - -
- -with the start edge. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html deleted file mode 100644 index 5ef4b7bd..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign006/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This caption is aligned - -
- -with the end edge. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextAlign006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html deleted file mode 100644 index 6202bc87..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text has no decoration. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html deleted file mode 100644 index 9d5decf8..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last word in this caption is - - -underlined - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html deleted file mode 100644 index 6101ee42..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration003/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The last two words in this caption are - - -
- -not underlined. - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html deleted file mode 100644 index 25d4d25c..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration004/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -All the words in this caption are -underlined. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html deleted file mode 100644 index 25d4d25c..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration005/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -All the words in this caption are -underlined. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html deleted file mode 100644 index 25d4d25c..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration006/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -All the words in this caption are -underlined. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html deleted file mode 100644 index c021401e..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration007/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last two words in this caption are - -
- -not underlined - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html deleted file mode 100644 index 93e57da1..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration008/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text contains a throughline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html deleted file mode 100644 index 1fb18932..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration009/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -The last four words have - -
- -no line through them - - -. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration009/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html deleted file mode 100644 index c4b1c551..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration010/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This entire caption contains an overline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration010/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html deleted file mode 100644 index 4924c020..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration011/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The first row contains an overline, - -
- -but the second row does not. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration011/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html deleted file mode 100644 index 6081a923..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration012/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The first text has an underline and a line -through. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration012/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html deleted file mode 100644 index 40a76c56..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration013/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -The first text has an underline, overline -and a line through. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextDecoration013/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html deleted file mode 100644 index a8fac85b..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text has no outline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html deleted file mode 100644 index 25ef2176..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text has a three-pixel outline that is -the same color as the text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html deleted file mode 100644 index afac36da..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text has a red, two-pixel outline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html deleted file mode 100644 index e9de3f9d..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline005/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text has a red, 5% outline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html deleted file mode 100644 index 42c6eda4..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html b/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html deleted file mode 100644 index f5b0a412..00000000 --- a/src/test/resources/reference-files/imsc1/TextOutline005/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text has a green, 10% outline. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html deleted file mode 100644 index 2a4ec3cd..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -1.2s = 1.2s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html deleted file mode 100644 index 369696b4..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/1.200000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -1.2m = 72s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html deleted file mode 100644 index eadfe95b..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/11842.436000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -01:02:03.2350 = 3723.235s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html deleted file mode 100644 index f9b94998..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/15565.671000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -01:02:03:20 = 3723.83416667s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html deleted file mode 100644 index ae3ae424..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/19289.505167.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -100:00:00.1 = 360000.1s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html deleted file mode 100644 index ded2bb32..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/379289.605167.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -100:00:00:00 = 360000s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html deleted file mode 100644 index 523ba41e..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4393.200000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -24f = 1.001s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html deleted file mode 100644 index 26190ed5..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4394.201000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -120t = 2s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html deleted file mode 100644 index 443a2537..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/4396.201000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -01:02:03 = 3723s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html deleted file mode 100644 index d51badc0..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/73.200000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -1.2h = 4320s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/739289.605167.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html b/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html deleted file mode 100644 index 7d7f02c5..00000000 --- a/src/test/resources/reference-files/imsc1/TimeExpressions001/html/8119.201000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -01:02:03.235 = 3723.235s - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html deleted file mode 100644 index 251faf10..00000000 --- a/src/test/resources/reference-files/imsc1/Tt001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must appear on one line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Tt001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html deleted file mode 100644 index dfa4ac2a..00000000 --- a/src/test/resources/reference-files/imsc1/Tt002/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -This text - - must appear on two lines. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Tt002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html deleted file mode 100644 index 251faf10..00000000 --- a/src/test/resources/reference-files/imsc1/Tt003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text must appear on one line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Tt003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html deleted file mode 100644 index 88c02467..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html deleted file mode 100644 index d0d50187..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The last three words are displayed - -
- -right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html deleted file mode 100644 index e836e5d2..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html deleted file mode 100644 index 88c02467..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html b/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html deleted file mode 100644 index aa514290..00000000 --- a/src/test/resources/reference-files/imsc1/UnicodeBidi005/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html deleted file mode 100644 index 7f1c1816..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This text is visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html deleted file mode 100644 index 7b438d04..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -All the words in this caption are visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html b/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html deleted file mode 100644 index 68ccf425..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -The second row of text is invisible: - -
- -invisible text. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html b/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1/Visibility003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html deleted file mode 100644 index 02f40cd2..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption001/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -The text in this caption -wraps automatically no matter -how much text is in the -paragraph. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html deleted file mode 100644 index 6ea7920b..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The text in this caption does not wrap, so some of the text is not visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html deleted file mode 100644 index 6ea7920b..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The text in this caption does not wrap, so some of the text is not visible. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html deleted file mode 100644 index 6b66c3ea..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption004/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The text in this caption does not wrap, extending beyond the end edge of the text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html b/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html deleted file mode 100644 index 5ec4c2cd..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption004/html/5.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -The text in this row wraps, -staying within the text -region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html deleted file mode 100644 index 5dbf74d3..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption005/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -The text in this caption -wraps, staying within the -text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html b/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html deleted file mode 100644 index 6b66c3ea..00000000 --- a/src/test/resources/reference-files/imsc1/WrapOption005/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The text in this caption does not wrap, extending beyond the end edge of the text region. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html deleted file mode 100644 index 7459a873..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right - -
- -and top to bottom. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html deleted file mode 100644 index 9bc84cf9..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode002/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left - -
- -and top to bottom, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html deleted file mode 100644 index 3ba50830..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode002/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -with the words displayed - -
- -in the left-to-right direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html deleted file mode 100644 index 9bc84cf9..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode003/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left - -
- -and top to bottom, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode003/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html deleted file mode 100644 index 3414a33b..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode003/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -with the words displayed - -
- -in the right-to-left direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html deleted file mode 100644 index d49eac62..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode004/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -This text is displayed -top to bottom in the -inline progression -direction - -
- -and right to left in the -block progression -direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html deleted file mode 100644 index 8364e47c..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode004/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html deleted file mode 100644 index 7be21a92..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode005/html/0.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This text is displayed -top to bottom - -
- -and left to right. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html deleted file mode 100644 index 0b394db1..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode005/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html deleted file mode 100644 index 7459a873..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode006/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed left to right - -
- -and top to bottom. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html deleted file mode 100644 index 9bc84cf9..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode007/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left - -
- -and top to bottom, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode007/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html deleted file mode 100644 index 3ba50830..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode007/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -with the words displayed - -
- -in the left-to-right direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html deleted file mode 100644 index 6456321f..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode008/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This text is displayed right to left - -
- -and top to bottom, - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html deleted file mode 100644 index 8623bcc5..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode008/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html b/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html deleted file mode 100644 index 85b5f200..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode008/html/5.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -with the words displayed - -
- -in the right-to-left direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html deleted file mode 100644 index d49eac62..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode009/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -This text is displayed -top to bottom in the -inline progression -direction - -
- -and right to left in the -block progression -direction. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html b/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html deleted file mode 100644 index 8364e47c..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode009/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html b/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html deleted file mode 100644 index 56ec1bbd..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode010/html/0.000000.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
-
-

- -نشاط التدويل، W3C - -

-
-
-
-
-
-
-

- -hello - - - -みなさん、 - -
- -こんにちは - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html b/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html deleted file mode 100644 index e178baff..00000000 --- a/src/test/resources/reference-files/imsc1/WritingMode010/html/1.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html deleted file mode 100644 index 4ec1d623..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="1000" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html deleted file mode 100644 index bc1a0a9d..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="1" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html deleted file mode 100644 index 9d1006e9..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="0" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html deleted file mode 100644 index 0082ef8e..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="auto" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html deleted file mode 100644 index 362009ca..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="-1" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html deleted file mode 100644 index c33eac81..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:zIndex="-1000" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html b/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/ZIndex001/html/6.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/altText1/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html deleted file mode 100644 index 8dfb1979..00000000 --- a/src/test/resources/reference-files/imsc1/altText1/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html b/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/altText1/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html deleted file mode 100644 index 989df7df..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio1/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html deleted file mode 100644 index 1e254667..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio1/html/1.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This region should have (a) an -aspect ratio of 4:3, (b) be -centered within the related video -object and (c) be entirely within -the related video object frame, -and (d) have a height or width -equal to that of the related -video object frame. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html deleted file mode 100644 index 989df7df..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio1/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio2/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html deleted file mode 100644 index 7f0dd2e6..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio2/html/1.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This region should have (a) an aspect ratio -of 16:9, (b) be centered within the related -video object and (c) be entirely within the -related video object frame, and (d) have a -height or width equal to that of the related -video object frame. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio2/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html deleted file mode 100644 index 15c2ad77..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio3/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html deleted file mode 100644 index f7361bc1..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio3/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html deleted file mode 100644 index 15c2ad77..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio3/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio4/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html deleted file mode 100644 index 462cbab0..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio4/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio4/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio5/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html deleted file mode 100644 index 99613098..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio5/html/1.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This region should fill the entire related -video object frame. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio5/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio6/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html deleted file mode 100644 index dce38a7d..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio6/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html b/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/aspectRatio6/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html deleted file mode 100644 index b7ab5ade..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html deleted file mode 100644 index bc6155b5..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -One - - - line - - - Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundColor-region-p-span-002/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html deleted file mode 100644 index 0c1e2b03..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/backgroundcolor-rgba-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html deleted file mode 100644 index 43fcf4ca..00000000 --- a/src/test/resources/reference-files/imsc1/br-in-p-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -Two- - -
- -line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/br-in-p-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html deleted file mode 100644 index 56c54b8a..00000000 --- a/src/test/resources/reference-files/imsc1/br-in-span-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -Two- - -
- -line Subtitle. - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/br-in-span-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html deleted file mode 100644 index 2fc877d5..00000000 --- a/src/test/resources/reference-files/imsc1/cellresolution-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/cellresolution-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html deleted file mode 100644 index 6be626bb..00000000 --- a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -A line within one div element. - -

-
-
-

- -A line within another div element. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/content-in-multiple-div-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html deleted file mode 100644 index b2766e5d..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These lines appear step-by-step. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html deleted file mode 100644 index 0acaed64..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/2.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -These lines appear step-by-step. - -

-

- -This is the second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html deleted file mode 100644 index 8d675c2e..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/4.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This is the second line. - -

-

- -This is the third and last line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html deleted file mode 100644 index 0176a1b1..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-001/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This is the third and last line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html deleted file mode 100644 index b2766e5d..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These lines appear step-by-step. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html deleted file mode 100644 index 0176a1b1..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This is the third and last line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/12.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html deleted file mode 100644 index b2766e5d..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These lines appear step-by-step. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html deleted file mode 100644 index 5440fec0..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This is the second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html deleted file mode 100644 index 5440fec0..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This is the second line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html b/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html deleted file mode 100644 index 0176a1b1..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-rows-002/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -This is the third and last line. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html deleted file mode 100644 index 68b4923b..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html deleted file mode 100644 index 8ae634a1..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html deleted file mode 100644 index 1569a4e8..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/2.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -These - - - words - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html deleted file mode 100644 index 2575cc58..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/4.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -These - - - words - - - appear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html deleted file mode 100644 index 448d22a2..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-001/html/6.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- -These - - - words - - - appear - - - step-by-step. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html deleted file mode 100644 index 68b4923b..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html deleted file mode 100644 index 0b2a0d31..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These words - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html deleted file mode 100644 index 013c55e5..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These words appear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html deleted file mode 100644 index 6b0a3517..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -These words appear step-by-step. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html b/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/cumulative-words-002/html/6.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html deleted file mode 100644 index 06f3b7e5..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-after-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html deleted file mode 100644 index 76bc2bd7..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-before-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html deleted file mode 100644 index 321cc3d4..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/displayalign-center-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html deleted file mode 100644 index 7e441e11..00000000 --- a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -One - - -line - - -Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/font-style-normal-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html deleted file mode 100644 index 29260a15..00000000 --- a/src/test/resources/reference-files/imsc1/font-weight-001/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -One line - - -Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/font-weight-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html deleted file mode 100644 index 4f846379..00000000 --- a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -One - - -line - - -Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/font-weight-normal-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html deleted file mode 100644 index 667533ed..00000000 --- a/src/test/resources/reference-files/imsc1/fontsize-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/fontsize-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html deleted file mode 100644 index 596a77d2..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/0.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html deleted file mode 100644 index 151f4ac5..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/1.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -Hidden if -displayForcedOnlyMode is -true. - -

-
-
-
-
-
-
-

- -This text should be -displayed in all -circumstances. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html deleted file mode 100644 index 596a77d2..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1-forced/html/9.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html deleted file mode 100644 index c2a82cc4..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/0.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html deleted file mode 100644 index 0187b784..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/1.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -Hidden if -displayForcedOnlyMode is -true. - -

-
-
-
-
-
-
-

- -This text should be -displayed in all -circumstances. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html b/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html deleted file mode 100644 index c2a82cc4..00000000 --- a/src/test/resources/reference-files/imsc1/forcedDisplay1/html/9.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html deleted file mode 100644 index 6d032640..00000000 --- a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Foreign namespace test. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/foreign-namespace-in-header-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html deleted file mode 100644 index 6d032640..00000000 --- a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Foreign namespace test. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/foreign-namespace-in-p-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html deleted file mode 100644 index 00d6d5dc..00000000 --- a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/0.000000.html +++ /dev/null @@ -1,46 +0,0 @@ -
-
-
-
-

- -start/before - -

-
-
-
-
-
-
-

- -end/before - -

-
-
-
-
-
-
-

- -start/after - -

-
-
-
-
-
-
-

- -end/after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html deleted file mode 100644 index 5479199b..00000000 --- a/src/test/resources/reference-files/imsc1/four-active-regions-001/html/10.000000.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html deleted file mode 100644 index 0dfbb500..00000000 --- a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -Should be: background black, text: bold, -italic, yellow color - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/idrefs-style-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html deleted file mode 100644 index 200cac02..00000000 --- a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -The initial cell grid has 15 rows. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/initial-value-cellresolution-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding1/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html deleted file mode 100644 index fa5fda7c..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding1/html/1.000000.html +++ /dev/null @@ -1,36 +0,0 @@ -
-
-
-
-

- - -Centered text on two lines - -
- -without padding. - -
-

-
-
-
-
-
-
-

- - -Centered text on two lines - -
- -with padding. - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding1/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html deleted file mode 100644 index a4c8d3e4..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding2/html/0.000000.html +++ /dev/null @@ -1,27 +0,0 @@ -
-
-
-
-

- - -There - - - should be - -
- - -one - - -line break - - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding2/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html deleted file mode 100644 index c8b9262c..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding3/html/0.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -No spaces - -
- - - - - - -Two lines with spaces - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html b/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding3/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html b/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html deleted file mode 100644 index bf06265f..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding4/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This subtitle - - - uses - -
- -linepadding - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html b/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linePadding4/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html deleted file mode 100644 index 9d55b996..00000000 --- a/src/test/resources/reference-files/imsc1/lineheight-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -A subtitles with a lineheight of 125%. - -
- -The subtitle has two lines. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/lineheight-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html deleted file mode 100644 index 06481310..00000000 --- a/src/test/resources/reference-files/imsc1/linepadding-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -This subtitle uses - -
- -linepadding - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/linepadding-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html deleted file mode 100644 index e60c77ea..00000000 --- a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/0.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html deleted file mode 100644 index 7a6ebfea..00000000 --- a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/1.000000.html +++ /dev/null @@ -1,36 +0,0 @@ -
-
-
-
-

- - -multiRowAlign="end" - -
- -textAlign="start" - -
-

-
-
-
-
-
-
-

- - -multiRowAlign="start" - -
- -textAlign="center" - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html b/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html deleted file mode 100644 index e60c77ea..00000000 --- a/src/test/resources/reference-files/imsc1/multiRowAlign1/html/9.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html deleted file mode 100644 index e044e3a2..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -textAlign is center - -
- -and multirowAlign is auto - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-auto-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html deleted file mode 100644 index 40883d64..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -Center Center - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-center-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html deleted file mode 100644 index ff14f1ea..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -Center End - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-end-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html deleted file mode 100644 index 7b75d40a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -Center Start - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-center-start-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html deleted file mode 100644 index 7e5d80fa..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -End Center - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-end-center-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html deleted file mode 100644 index b8fa3f2c..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -End Start - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-end-start-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html deleted file mode 100644 index 14931137..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -Start Center - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-start-center-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html deleted file mode 100644 index 655b0816..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -This subtitle's multiRowAlign is - -
- -Start End - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/multirow-align-start-end-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html deleted file mode 100644 index 15782504..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -start/before - -

-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html deleted file mode 100644 index 2f4212f5..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/10.000000.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-
-
-

- -end/before - -

-
-
-
-
-
-
-

- -start/after - -

-
-
-
-
-
-
-

- -end/after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html deleted file mode 100644 index 1ae5feff..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/12.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-
-
-
-
-

- -start/after - -

-
-
-
-
-
-
-

- -end/after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html deleted file mode 100644 index ae124215..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/14.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-

- -end/after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html deleted file mode 100644 index 5479199b..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/16.000000.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html deleted file mode 100644 index d81337e8..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/2.000000.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
-
-

- -start/before - -

-
-
-
-
-
-
-

- -end/before - -

-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html deleted file mode 100644 index 8e699ca7..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/4.000000.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-

- -start/before - -

-
-
-
-
-
-
-

- -end/before - -

-
-
-
-
-
-
-

- -start/after - -

-
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html b/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html deleted file mode 100644 index 00d6d5dc..00000000 --- a/src/test/resources/reference-files/imsc1/mutiple-regions-sequence-001/html/6.000000.html +++ /dev/null @@ -1,46 +0,0 @@ -
-
-
-
-

- -start/before - -

-
-
-
-
-
-
-

- -end/before - -

-
-
-
-
-
-
-

- -start/after - -

-
-
-
-
-
-
-

- -end/after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html deleted file mode 100644 index b1794eca..00000000 --- a/src/test/resources/reference-files/imsc1/nested-region-001/html/0.000000.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
-
-

- -Bottom Region - -

-
-
-
-
-
-
-

- -Top Region - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html deleted file mode 100644 index 9cb96031..00000000 --- a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Overflow is hidden. One long long long long long long Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/overflow-hidden-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html deleted file mode 100644 index f9828689..00000000 --- a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Overflow is visible. One long long long long long long Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/overflow-visible-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html deleted file mode 100644 index 9b1b1ccf..00000000 --- a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Region padding, four values. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html deleted file mode 100644 index 5a9372e8..00000000 --- a/src/test/resources/reference-files/imsc1/padding-four-values-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html deleted file mode 100644 index b20b3129..00000000 --- a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -Region padding, -one value. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html deleted file mode 100644 index ae1c217e..00000000 --- a/src/test/resources/reference-files/imsc1/padding-one-value-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html deleted file mode 100644 index 74c04609..00000000 --- a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -Region padding, three -values. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html deleted file mode 100644 index 8fc23102..00000000 --- a/src/test/resources/reference-files/imsc1/padding-three-values-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html deleted file mode 100644 index a2e31d0b..00000000 --- a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -Region -padding, -two -values. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html deleted file mode 100644 index 4d457a50..00000000 --- a/src/test/resources/reference-files/imsc1/padding-two-values-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html deleted file mode 100644 index 9a8b0855..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html deleted file mode 100644 index 58b19ad0..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html deleted file mode 100644 index 7840960f..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Two. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html deleted file mode 100644 index 853c2734..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Three. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html deleted file mode 100644 index 1d2fdd25..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Over. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html b/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html deleted file mode 100644 index 9a8b0855..00000000 --- a/src/test/resources/reference-files/imsc1/progressivelyDecodable1/html/5.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html b/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html deleted file mode 100644 index 1da374da..00000000 --- a/src/test/resources/reference-files/imsc1/referenceFonts1/html/0.000000.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
-
-

- -Lorem ipsum dolor sit amet, consectetur -adipiscing elit. Sed vitae tincidunt lacus. -Pellentesque quis lorem est. Curabitur a -lectus ut diam aliquam volutpat ut id ante. -Vestibulum ac congue massa, in ornare velit. - -

-
-
-
-
-
-
-

- -Lorem ipsum dolor sit amet, -consectetur adipiscing elit. Sed -vitae tincidunt lacus. -Pellentesque quis lorem est. -Curabitur a lectus ut diam -aliquam volutpat ut id ant. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html b/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html deleted file mode 100644 index bb3b4790..00000000 --- a/src/test/resources/reference-files/imsc1/referenceFonts1/html/9.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html deleted file mode 100644 index b1293bea..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [0s,10s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html deleted file mode 100644 index 9eb3f2d5..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/10.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [10s,15s) - -

-

- -This text should only appear during the -interval [10s,20s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html deleted file mode 100644 index ce9b5e41..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/12.000000.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [10s,15s) - -

-

- -This text should only appear during the -interval [12s,18s) - -

-

- -This text should only appear during the -interval [10s,20s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html deleted file mode 100644 index 7fc2bafe..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/15.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [12s,18s) - -

-

- -This text should only appear during the -interval [10s,20s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html deleted file mode 100644 index fa06227e..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/16.000000.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [12s,18s) - -

-

- -This text should only appear during the -interval [10s,20s) - -

-

- -This text should only appear during the -interval [16s,20s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html deleted file mode 100644 index e63eb32d..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/18.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [10s,20s) - -

-

- -This text should only appear during the -interval [16s,20s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/20.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/25.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html b/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html deleted file mode 100644 index b1293bea..00000000 --- a/src/test/resources/reference-files/imsc1/region-timing/html/5.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -This text should only appear during the -interval [0s,10s) - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html deleted file mode 100644 index cfb1d302..00000000 --- a/src/test/resources/reference-files/imsc1/space-preserve-001/html/0.000000.html +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
-
-

- - - - -Two- - -line Subtitle. - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/space-preserve-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html deleted file mode 100644 index af78c731..00000000 --- a/src/test/resources/reference-files/imsc1/special-character-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- - -Ç ü é â ä à å ç ê ë è ï î ì Ä Å æ Æ ô ö ò - -
- -û ù ÿ Ö Ü ø £ Ø × ƒ á í ó ú ñ Ñ ª º ¿ - -
-

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/special-character-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html deleted file mode 100644 index a257d7a3..00000000 --- a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Inherited styles - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/styleInheritance-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html deleted file mode 100644 index 9cca6d50..00000000 --- a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -One - - -line - - -Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/text-decoration-none-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html deleted file mode 100644 index 06f3b7e5..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-center-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-center-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html deleted file mode 100644 index 2204d4ef..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-end-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-end-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html deleted file mode 100644 index de50fbbb..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-left-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-left-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html deleted file mode 100644 index e7aec8ef..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-right-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-right-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html deleted file mode 100644 index d249dad1..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-start-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/textalign-start-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html deleted file mode 100644 index 06f3b7e5..00000000 --- a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html deleted file mode 100644 index 1328b870..00000000 --- a/src/test/resources/reference-files/imsc1/timing-on-span-001/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html deleted file mode 100644 index 06f3b7e5..00000000 --- a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html deleted file mode 100644 index 1328b870..00000000 --- a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html b/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html deleted file mode 100644 index 06f3b7e5..00000000 --- a/src/test/resources/reference-files/imsc1/timing-on-span-002/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -One line Subtitle. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html deleted file mode 100644 index 5ece08a6..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -bahrain - - -مصر 2015 - - - kuwait - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-ltr-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html deleted file mode 100644 index dbc0d954..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -The title of the book is " - - -نشاط التدويل، W3C - - -" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-embed-direction-rtl-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html deleted file mode 100644 index e1c75515..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/0.000000.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-
-

- -Inline direction LTR and - - -LTR - - - inside. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-bidi-override-direction-rtl-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html b/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html deleted file mode 100644 index 72004d98..00000000 --- a/src/test/resources/reference-files/imsc1/unicode-non-bmp-character/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Hello, I am Mork from Ork 😀 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html deleted file mode 100644 index c0773022..00000000 --- a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -If a line overflows the extent of the region automated line wrapping shall not apply. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/wrapoption-nowrap-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html deleted file mode 100644 index e9980992..00000000 --- a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -If a line overflows the extent of the region -automated line wrapping shall apply. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/wrapoption-wrap-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html deleted file mode 100644 index 1944f92d..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -first line - -
- -second line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-lr-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html deleted file mode 100644 index 29dd79dc..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bahrain مصر kuwait - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-lrtb-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html deleted file mode 100644 index dbab5d9b..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

- -first line - -
- -second line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-rl-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html deleted file mode 100644 index c5393ee5..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bahrain مصر kuwait - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-rltb-001/html/10.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html deleted file mode 100644 index 74f751fc..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -first line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html deleted file mode 100644 index 0eea2f95..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/2.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -first line - -

-

- -second line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tb-001/html/4.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html deleted file mode 100644 index 74f751fc..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -first line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html deleted file mode 100644 index 0eea2f95..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/2.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -first line - -

-

- -second line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html b/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1/writing-mode-tbrl-001/html/4.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html deleted file mode 100644 index acfa4243..00000000 --- a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Disparity of 2% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html deleted file mode 100644 index 87decb5d..00000000 --- a/src/test/resources/reference-files/imsc1_1/disparity001-left/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html deleted file mode 100644 index acfa4243..00000000 --- a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Disparity of 2% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html deleted file mode 100644 index 87decb5d..00000000 --- a/src/test/resources/reference-files/imsc1_1/disparity001-right/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html deleted file mode 100644 index 989df7df..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html deleted file mode 100644 index 1e254667..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/1.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -This region should have (a) an -aspect ratio of 4:3, (b) be -centered within the related video -object and (c) be entirely within -the related video object frame, -and (d) have a height or width -equal to that of the related -video object frame. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html deleted file mode 100644 index 989df7df..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio001/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/0.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html deleted file mode 100644 index 7f0dd2e6..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/1.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- -This region should have (a) an aspect ratio -of 16:9, (b) be centered within the related -video object and (c) be entirely within the -related video object frame, and (d) have a -height or width equal to that of the related -video object frame. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html deleted file mode 100644 index f88aefc7..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio002/html/9.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html deleted file mode 100644 index 15c2ad77..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html deleted file mode 100644 index f7361bc1..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html deleted file mode 100644 index 15c2ad77..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio003/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/0.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html deleted file mode 100644 index 462cbab0..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/1.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/displayAspectRatio004/html/9.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html deleted file mode 100644 index 70ffa9e8..00000000 --- a/src/test/resources/reference-files/imsc1_1/image001/html/0.000000.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/image001/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html deleted file mode 100644 index 59624a7f..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Text should be green - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html deleted file mode 100644 index 898e196e..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial001/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -Text should be yellow - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html deleted file mode 100644 index c1234669..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial001/html/2.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html deleted file mode 100644 index 946cddeb..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial002/html/0.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -Text should be green and -italic - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html deleted file mode 100644 index 23d5b3e8..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial002/html/1.000000.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-

- -Text should be yellow and -not italic - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html deleted file mode 100644 index c1234669..00000000 --- a/src/test/resources/reference-files/imsc1_1/initial002/html/2.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html deleted file mode 100644 index 53fce329..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -tts:extent="50rw 50rh" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html deleted file mode 100644 index 3360cbe5..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative001/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html deleted file mode 100644 index 52f09b84..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/0.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -10rh - - -20rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html deleted file mode 100644 index bca2cc19..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative002/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html deleted file mode 100644 index e5d5b066..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/0.000000.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
-
-

- -lineHeight="7rh" - -
- -lineHeight="7rh" - -
- -lineHeight="7rh" - -

-

- -lineHeight="14rh" - -
- -lineHeight="14rh" - -
- -lineHeight="14rh" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html deleted file mode 100644 index ee1e97bb..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative003/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html deleted file mode 100644 index 029bf60c..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/0.000000.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
-
-

- -tts:padding="0rh 5rw 10rh -20rw" - -
- -tts:displayAlign="before" - -

-
-
-
-
-
-
-

- -tts:padding="0rh 5rw 10rh -20rw" - -
- -tts:displayAlign="after" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html deleted file mode 100644 index c1d45e22..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative004/html/1.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html deleted file mode 100644 index b6745f95..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative005/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -I serve it with greens in those - - -shadowy scenes, - -
- -And I use it for striking a light: - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html deleted file mode 100644 index e4615d59..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/0.000000.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
-
-

- -This text has a 10% -outline that is -black. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html deleted file mode 100644 index cb7dbcf5..00000000 --- a/src/test/resources/reference-files/imsc1_1/lengthRootContainerRelative006/html/10.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html deleted file mode 100644 index 663da0e1..00000000 --- a/src/test/resources/reference-files/imsc1_1/linepadding002/html/0.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -ruby container boxed with - - - -padding - - -0 -. -2 -5 -e -m - - -
- -a span on a 2nd line - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html deleted file mode 100644 index 1328b870..00000000 --- a/src/test/resources/reference-files/imsc1_1/linepadding002/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html deleted file mode 100644 index 65c4af57..00000000 --- a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/0.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- - - -
- -Pixels at the center of the rectangle above must have an RGB value of (0xA0, 0xA0, 0xA0) -when encoded using the Reference PQ EOTF and full-range quantization over 8-bits. - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html deleted file mode 100644 index cbeaf967..00000000 --- a/src/test/resources/reference-files/imsc1_1/luminanceGain001/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html deleted file mode 100644 index ec58e8e6..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html deleted file mode 100644 index c8844f44..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html deleted file mode 100644 index c1cb4b73..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html deleted file mode 100644 index 921e3db5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/11.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html deleted file mode 100644 index e1aba6f1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html deleted file mode 100644 index db051d24..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/13.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html deleted file mode 100644 index 7585bcb9..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html deleted file mode 100644 index cd3f40c7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html deleted file mode 100644 index 2e760a36..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html deleted file mode 100644 index 45ad5730..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/17.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html deleted file mode 100644 index 0fa810f8..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html deleted file mode 100644 index 0cadf54e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/19.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html deleted file mode 100644 index 6f85fe8c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html deleted file mode 100644 index a5b2f840..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html deleted file mode 100644 index 15686a75..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/21.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html deleted file mode 100644 index 9fe48d60..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/22.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html deleted file mode 100644 index 5224981c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/23.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html deleted file mode 100644 index f807fae2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/24.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html deleted file mode 100644 index 93238a11..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/25.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html deleted file mode 100644 index 027cd503..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/26.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25% center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html deleted file mode 100644 index 7c75147f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/27.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25% top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html deleted file mode 100644 index 1e6ca3c7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/28.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25% bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html deleted file mode 100644 index 54778577..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/29.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25% 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html deleted file mode 100644 index 395a1c92..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html deleted file mode 100644 index 1c26babe..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/30.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html deleted file mode 100644 index adf50255..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/31.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html deleted file mode 100644 index 05a087e4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/32.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25% center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html deleted file mode 100644 index 5163d811..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/33.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25% left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html deleted file mode 100644 index adc9b06e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/34.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25% right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html deleted file mode 100644 index 5c5dba0f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/35.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html deleted file mode 100644 index 4dac01ca..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/36.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html deleted file mode 100644 index dccb8094..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/37.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html deleted file mode 100644 index 96e9eb8e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/38.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html deleted file mode 100644 index 8acdd44a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/39.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html deleted file mode 100644 index 896c0515..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html deleted file mode 100644 index 12c93095..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/40.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html deleted file mode 100644 index 97242e39..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/41.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html deleted file mode 100644 index 79dc6d1c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/42.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html deleted file mode 100644 index 8e2044e1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/43.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html deleted file mode 100644 index ce6f53a0..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/44.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html deleted file mode 100644 index 2ab453b8..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/45.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html deleted file mode 100644 index 6a2eee20..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/46.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html deleted file mode 100644 index 68d2e120..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/47.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html deleted file mode 100644 index fced8a50..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/48.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html deleted file mode 100644 index 36bd4160..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/49.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html deleted file mode 100644 index b35a00e4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html deleted file mode 100644 index f872bc50..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/50.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html deleted file mode 100644 index 1074a6ad..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/51.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25% center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html deleted file mode 100644 index c9dc4480..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/52.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25% left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html deleted file mode 100644 index d5fa426b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/53.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25% right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html deleted file mode 100644 index 2aca35da..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/54.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25% left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html deleted file mode 100644 index 29178766..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/55.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25% right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html deleted file mode 100644 index ca74d7f6..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/56.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% bottom 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html deleted file mode 100644 index 134750aa..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/57.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% bottom 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html deleted file mode 100644 index 3a1ae82b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/58.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25% left 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html deleted file mode 100644 index b06f8665..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/59.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25% right 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html deleted file mode 100644 index 596f7112..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html deleted file mode 100644 index 85be1647..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/60.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25% top 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html deleted file mode 100644 index 5c53eed0..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/61.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25% top 25% - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/62.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html deleted file mode 100644 index b3fa0c89..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html deleted file mode 100644 index 9ea3c27d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html deleted file mode 100644 index 2ae5700d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position001/html/9.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html deleted file mode 100644 index cb2413fe..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html deleted file mode 100644 index 14da5c79..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html deleted file mode 100644 index 37b5794d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html deleted file mode 100644 index 0af82290..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/11.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html deleted file mode 100644 index 9914fe96..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html deleted file mode 100644 index 26f1bbc3..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/13.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html deleted file mode 100644 index 2ab78002..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html deleted file mode 100644 index 39530b1a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html deleted file mode 100644 index c6f042d5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html deleted file mode 100644 index 5e906ae4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/17.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html deleted file mode 100644 index 6a516720..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html deleted file mode 100644 index 3a0018d2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/19.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html deleted file mode 100644 index 45663a0f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html deleted file mode 100644 index d017a935..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html deleted file mode 100644 index 3c28a3a5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/21.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html deleted file mode 100644 index 26a2863f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/22.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html deleted file mode 100644 index 53294b49..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/23.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html deleted file mode 100644 index 64488a41..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/24.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html deleted file mode 100644 index bdbf8bbb..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/25.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html deleted file mode 100644 index 07044748..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/26.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -48px center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html deleted file mode 100644 index a077549b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/27.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -48px top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html deleted file mode 100644 index 19845be2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/28.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -48px bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html deleted file mode 100644 index 0711d96b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/29.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -48px 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html deleted file mode 100644 index 0e1f76e1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html deleted file mode 100644 index 152125c1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/30.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html deleted file mode 100644 index bf8bd277..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/31.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html deleted file mode 100644 index 19c22a6c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/32.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 48px center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html deleted file mode 100644 index 8918e94e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/33.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 48px left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html deleted file mode 100644 index 9e05b1b7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/34.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 48px right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html deleted file mode 100644 index c75226af..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/35.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html deleted file mode 100644 index 8c9d9893..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/36.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html deleted file mode 100644 index 5cf7ca6d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/37.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html deleted file mode 100644 index 05aae3d9..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/38.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html deleted file mode 100644 index 8d4919d8..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/39.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html deleted file mode 100644 index 00331fd4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html deleted file mode 100644 index 42407f46..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/40.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html deleted file mode 100644 index 318a8ffb..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/41.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html deleted file mode 100644 index 49da9cc5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/42.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html deleted file mode 100644 index 4d3104ee..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/43.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html deleted file mode 100644 index 22d8b282..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/44.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html deleted file mode 100644 index 6df641c3..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/45.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html deleted file mode 100644 index 5faf9060..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/46.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html deleted file mode 100644 index ae9d8af1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/47.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html deleted file mode 100644 index bf5f44ba..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/48.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html deleted file mode 100644 index 01020a5c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/49.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html deleted file mode 100644 index 82989925..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html deleted file mode 100644 index c3cdc0df..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/50.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html deleted file mode 100644 index cadbca4b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/51.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 48px center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html deleted file mode 100644 index 36290cb4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/52.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 48px left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html deleted file mode 100644 index 6b32a83b..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/53.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 48px right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html deleted file mode 100644 index 0a851af1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/54.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 48px left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html deleted file mode 100644 index 571037ac..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/55.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 48px right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html deleted file mode 100644 index 78eb0bf4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/56.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px bottom 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html deleted file mode 100644 index 5bf34535..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/57.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px bottom 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html deleted file mode 100644 index 09b226e7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/58.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 48px left 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html deleted file mode 100644 index 37620578..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/59.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 48px right 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html deleted file mode 100644 index 6c254456..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html deleted file mode 100644 index ca757219..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/60.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 48px top 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html deleted file mode 100644 index d6a05ca5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/61.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 48px top 48px - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/62.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html deleted file mode 100644 index faf3cff5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html deleted file mode 100644 index 7cc47548..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html deleted file mode 100644 index fea5fbe5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position002/html/9.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html deleted file mode 100644 index ec58e8e6..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/0.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html deleted file mode 100644 index c8844f44..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/1.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html deleted file mode 100644 index c1cb4b73..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/10.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html deleted file mode 100644 index 921e3db5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/11.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html deleted file mode 100644 index e1aba6f1..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/12.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html deleted file mode 100644 index db051d24..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/13.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html deleted file mode 100644 index 283c7b45..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/14.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html deleted file mode 100644 index cd3f40c7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/15.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html deleted file mode 100644 index 2e760a36..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/16.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html deleted file mode 100644 index 45ad5730..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/17.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html deleted file mode 100644 index 4fef5d03..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/18.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html deleted file mode 100644 index 0cadf54e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/19.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html deleted file mode 100644 index 6f85fe8c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/2.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html deleted file mode 100644 index a5b2f840..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/20.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html deleted file mode 100644 index 15686a75..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/21.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html deleted file mode 100644 index 7c324772..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/22.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html deleted file mode 100644 index 5224981c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/23.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html deleted file mode 100644 index f807fae2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/24.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html deleted file mode 100644 index 93238a11..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/25.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html deleted file mode 100644 index 542d58f2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/26.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25rw center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html deleted file mode 100644 index b5b2fca4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/27.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25rw top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html deleted file mode 100644 index ff6e79ee..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/28.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25rw bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html deleted file mode 100644 index ee30c44f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/29.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25rw 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html deleted file mode 100644 index 395a1c92..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/3.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html deleted file mode 100644 index 200ee93c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/30.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html deleted file mode 100644 index 14d6b28c..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/31.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html deleted file mode 100644 index 8d500132..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/32.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25rh center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html deleted file mode 100644 index 6dbbd64f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/33.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25rh left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html deleted file mode 100644 index fd41c9fc..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/34.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25rh right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html deleted file mode 100644 index 7bd2747a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/35.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center bottom 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html deleted file mode 100644 index 1d8bef17..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/36.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html deleted file mode 100644 index ae69ca53..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/37.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html deleted file mode 100644 index 20216cfb..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/38.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center top 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html deleted file mode 100644 index e43d19b0..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/39.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left bottom 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html deleted file mode 100644 index 896c0515..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/4.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html deleted file mode 100644 index 77e90036..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/40.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left top 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html deleted file mode 100644 index 97751664..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/41.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html deleted file mode 100644 index 569af800..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/42.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html deleted file mode 100644 index 174ec93f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/43.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html deleted file mode 100644 index 4d6d3533..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/44.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right bottom 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html deleted file mode 100644 index b750e9a7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/45.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right top 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html deleted file mode 100644 index 848ab36e..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/46.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw bottom - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html deleted file mode 100644 index 3762ee66..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/47.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html deleted file mode 100644 index d3c29216..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/48.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw top - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html deleted file mode 100644 index 9855f7b4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/49.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html deleted file mode 100644 index 324f1c43..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/5.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html deleted file mode 100644 index 30957f17..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/50.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html deleted file mode 100644 index 71ae1e12..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/51.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25rh center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html deleted file mode 100644 index 8559cad5..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/52.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25rh left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html deleted file mode 100644 index 650c87e4..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/53.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25rh right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html deleted file mode 100644 index e198fc6a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/54.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25rh left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html deleted file mode 100644 index e6a3fd35..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/55.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom 25rh right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html deleted file mode 100644 index 9fe03801..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/56.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw bottom 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html deleted file mode 100644 index b5ad11bc..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/57.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw bottom 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html deleted file mode 100644 index 7afd3f69..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/58.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25rh left 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html deleted file mode 100644 index c254e5c2..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/59.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -top 25rh right 25rw - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html deleted file mode 100644 index 596f7112..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/6.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html deleted file mode 100644 index c18f4bb7..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/60.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -left 25rw top 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html deleted file mode 100644 index 13188c7f..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/61.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -right 25rw top 25rh - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/62.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html deleted file mode 100644 index b3fa0c89..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/7.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom left - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html deleted file mode 100644 index 9ea3c27d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/8.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -bottom right - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html b/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html deleted file mode 100644 index 2ae5700d..00000000 --- a/src/test/resources/reference-files/imsc1_1/position003/html/9.000000.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
-

- -center center - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html deleted file mode 100644 index d10eb502..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby001/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby001/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html deleted file mode 100644 index 7770f0cb..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby002/html/0.000000.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
-
-

- - - -東南 - - - - - - - - - - - - - - - - - - - -の方角 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html deleted file mode 100644 index 39477cb5..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby002/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html deleted file mode 100644 index 1e762ee3..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby003/html/0.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -Lorem ipsum - -
- - -利用許諾 - - - - - - - - - -
- -dolor sit amet - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html deleted file mode 100644 index 02751e82..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby003/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html deleted file mode 100644 index d10eb502..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby004/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby004/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html deleted file mode 100644 index 28c6b700..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/0.000000.html +++ /dev/null @@ -1,39 +0,0 @@ -
-
-
-
-

- - - -base base base - - - - -5 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html deleted file mode 100644 index 76e8eaae..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/1.000000.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
-
-

- - -base base base - - -5 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html deleted file mode 100644 index 48f8c6dc..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/2.000000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- - - -base base base - - - - -1 -0 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html deleted file mode 100644 index 67cb6be1..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/3.000000.html +++ /dev/null @@ -1,36 +0,0 @@ -
-
-
-
-

- - -base base base - - -1 -0 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html deleted file mode 100644 index e87b455f..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/4.000000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- - - -base base base - - - - -1 -0 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html deleted file mode 100644 index befb7fa9..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/5.000000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- - - -base base base - - - - -1 -0 -0 -% - -b -a -s -e - -f -o -n -t - -s -i -z -e - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html deleted file mode 100644 index cd6d45b3..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby005/html/6.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html deleted file mode 100644 index 9ac58a7b..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby006/html/0.000000.html +++ /dev/null @@ -1,75 +0,0 @@ -
-
-
-
-

- - - -single underline - - - - -s -i -n -g -l -e - -u -n -d -e -r -l -i -n -e - - - -

-
-
-
-
-
-
-

- - - -single underline - - - - -s -i -n -g -l -e - -u -n -d -e -r -l -i -n -e - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html deleted file mode 100644 index 3ea033c9..00000000 --- a/src/test/resources/reference-files/imsc1_1/ruby006/html/1.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html deleted file mode 100644 index d10eb502..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign001/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html deleted file mode 100644 index 3acda865..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign002/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html deleted file mode 100644 index d10eb502..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/0.000000.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign003/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html deleted file mode 100644 index d4141411..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/0.000000.html +++ /dev/null @@ -1,32 +0,0 @@ -
-
-
-
-

- - - -利用許諾 - - - - - - - - - - - - -
-

-

- -tts:rubyAlign="spaceAround" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html deleted file mode 100644 index dde5fd12..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/1.000000.html +++ /dev/null @@ -1,27 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-

- -tts:rubyAlign="spaceAround" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html deleted file mode 100644 index 56089db8..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/2.000000.html +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
-
-

- - - -利用許諾 - - - - - - - - - - - - -

-

- -tts:rubyAlign="spaceAround" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html deleted file mode 100644 index cb33ff5a..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/3.000000.html +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
-
-

- - - -利用許諾 - - - - - - - - - - - - -

-

- -tts:rubyAlign="center" - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html deleted file mode 100644 index 34e4f1ef..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyAlign004/html/4.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html deleted file mode 100644 index 3636c62e..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/0.000000.html +++ /dev/null @@ -1,88 +0,0 @@ -
-
-
-
-

- -スペイン外人部隊の - - - - - - - - - - - - - - - -です - -
- -遠征でよく - - - - - - - - - - - - - - - -いました - -

-
-
-
-
-
-
-

- -スペイン外人部隊の - - - - - - - - - - - -です - -
- -遠征でよく - - - - - - - - - - - -いました - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html deleted file mode 100644 index 241daebb..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/1.000000.html +++ /dev/null @@ -1,40 +0,0 @@ -
-
-
-
-

- - - - - -スペイン外人部隊の歌です - -
- - - - - -遠征でよく歌いました - -

-
-
-
-
-
-
-

- -スペイン外人部隊の歌です - -
- -遠征でよく歌いました - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html deleted file mode 100644 index c058addb..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve001/html/2.000000.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html deleted file mode 100644 index c8aecc68..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/0.000000.html +++ /dev/null @@ -1,102 +0,0 @@ -
-
-
-
-

- - - - - - -rubyReserve - - -d -e -f -a -u -l -t - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
-
-
-

- - - - - - -rubyReserve - - -1 -e -m - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html deleted file mode 100644 index 470fdde9..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/1.000000.html +++ /dev/null @@ -1,103 +0,0 @@ -
-
-
-
-

- - - - - - -rubyReserve - - -d -e -f -a -u -l -t - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
-
-
-

- - - - - - -rubyReserve - - -1 -0 -0 -% - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html deleted file mode 100644 index c1b9ed85..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/2.000000.html +++ /dev/null @@ -1,103 +0,0 @@ -
-
-
-
-

- - - - - - -rubyReserve - - -d -e -f -a -u -l -t - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
-
-
-

- - - - - - -rubyReserve - - -7 -2 -p -x - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html deleted file mode 100644 index 278dcaeb..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/3.000000.html +++ /dev/null @@ -1,104 +0,0 @@ -
-
-
-
-

- - - - - - -rubyReserve - - -d -e -f -a -u -l -t - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
-
-
-

- - - - - - -rubyReserve - - -6 -. -7 -r -h - -l -e -n -g -t -h - - -
- - - - - - -rubyReserve - - -o -u -t -s -i -d -e - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve002/html/4.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html deleted file mode 100644 index 773a8dd4..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/0.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -outside - -

-

- - - - - -base - -
- - - - - -base - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html deleted file mode 100644 index 2e7b8b3e..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/1.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -before - -

-

- - - - - -base - -
- - - - - -base - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html deleted file mode 100644 index d346a786..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/2.000000.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
-

- -after - -

-

- - - - - -base - -
- - - - - -base - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html deleted file mode 100644 index 4ba16560..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/3.000000.html +++ /dev/null @@ -1,32 +0,0 @@ -
-
-
-
-

- -both - -

-

- - - - - - -base - -
- - - - - - -base - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/rubyReserve003/html/4.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html deleted file mode 100644 index 51de9261..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/0.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- -16.78842% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -16.78842% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Positive shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html deleted file mode 100644 index 332ae763..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/1.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- -50% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -50% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Positive shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html deleted file mode 100644 index dc916105..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/2.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- -64.333% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -64.333% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Positive shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html deleted file mode 100644 index d22207e6..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/3.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- --16.78842% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- --16.78842% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Negative shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html deleted file mode 100644 index d2ce3b8d..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/4.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- --50% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- --50% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Negative shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html deleted file mode 100644 index 71099052..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/5.000000.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-

- --64.333% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- --64.333% - -
- -三日坊主 - -

-
-
-
-
-
-
-

- -Negative shear - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear001/html/6.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html deleted file mode 100644 index cc14c768..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear002/html/0.000000.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-
-

- - -利用許諾 - - - - - - - - - -

-
-
-
-
-
-
-

- -あい - -34 - -三四 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear002/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html deleted file mode 100644 index 8b951d05..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear003/html/0.000000.html +++ /dev/null @@ -1,50 +0,0 @@ -
-
-
-
-

- - - - - - - - - - - - - - - - -
- - - - -最多 - -1998 - - - - - - - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/shear003/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html deleted file mode 100644 index 9bd143e3..00000000 --- a/src/test/resources/reference-files/imsc1_1/textCombine001/html/0.000000.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
-
-

- -あい - - -AB34 - - -三四 - -

-
-
-
-
-
-
-

- -あい - -AB34 - -三四 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/textCombine001/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html deleted file mode 100644 index 444ab9c6..00000000 --- a/src/test/resources/reference-files/imsc1_1/textCombine002/html/0.000000.html +++ /dev/null @@ -1,38 +0,0 @@ -
-
-
-
-

- -あい - - -AB34 - - -2nd - - -三四 - -

-
-
-
-
-
-
-

- -あい - -AB34 -2nd - -三四 - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/textCombine002/html/1.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html deleted file mode 100644 index 35abda10..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/0.000000.html +++ /dev/null @@ -1,77 +0,0 @@ -
-
-
-
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html deleted file mode 100644 index 9e4fbd95..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis001/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html deleted file mode 100644 index 8af20f89..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/0.000000.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
-
-

- - -hello - - -bonjour - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html deleted file mode 100644 index f521ca7d..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis002/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html deleted file mode 100644 index afd5fa38..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/0.000000.html +++ /dev/null @@ -1,29 +0,0 @@ -
-
-
-
-

- - - - - - - - - -
- - - - - - - - - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html deleted file mode 100644 index 69a0d316..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis003/html/1.000000.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html deleted file mode 100644 index 0c061bf1..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/0.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

-
- -tbrl - - -before - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html deleted file mode 100644 index 4a722236..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/1.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -tbrl - - -after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html deleted file mode 100644 index 31d74b79..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/2.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

-
- -tblr - - -before - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html deleted file mode 100644 index 26f7e5e9..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/3.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -tblr - - -after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html deleted file mode 100644 index 333d7f6b..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/4.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

-
- -lrtb - - -before - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html deleted file mode 100644 index 01f9d0ac..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/5.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -lrtb - - -after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html deleted file mode 100644 index 573fbb91..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/6.000000.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
-

-
- -rltb - - -before - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html deleted file mode 100644 index 60705d05..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/7.000000.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-

- -rltb - - -after - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html b/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html deleted file mode 100644 index f5bc0d3a..00000000 --- a/src/test/resources/reference-files/imsc1_1/textEmphasis004/html/8.000000.html +++ /dev/null @@ -1,2 +0,0 @@ -
-
\ No newline at end of file diff --git a/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html b/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html deleted file mode 100644 index ee333c41..00000000 --- a/src/test/resources/reference-files/imsc1_1/textShadow001/html/0.000000.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
-
-
-

- -I serve it with greens in those - - -shadowy scenes, - -
- -And I use it for striking a light: - -

-
-
-
-
\ No newline at end of file diff --git a/src/test/webapp/js/gen-renders.js b/src/test/webapp/js/gen-renders.js index 33f123cd..3ae9ef4b 100644 --- a/src/test/webapp/js/gen-renders.js +++ b/src/test/webapp/js/gen-renders.js @@ -143,10 +143,10 @@ async function generateAndDownloadRenders(reffiles_root) { } /** - * Parses the test files at reffiles_root and generates the JSON document, - * ISD documents and HTML documents for each of their media time events (no - * PNGs), returning a flat map of relative file path to file contents rather - * than writing any files or zipping anything. + * Parses the test files at reffiles_root and generates the JSON document and + * ISD documents for each of their media time events (no HTML, no PNGs), + * returning a flat map of relative file path to file contents rather than + * writing any files or zipping anything. */ async function generateReferenceFiles(reffiles_root) { @@ -158,7 +158,7 @@ async function generateReferenceFiles(reffiles_root) { for (const finfo of finfos) { - p.push(renderTTMLFile(reffiles_root, finfo, false)); + p.push(renderTTMLFile(reffiles_root, finfo, false, false)); } @@ -176,7 +176,6 @@ async function generateReferenceFiles(reffiles_root) { for (const event of renderedFile.events) { files[renderedFile.name + "/isd/" + event.name + ".json"] = JSON.stringify(event.isd, customReplace, 2); - files[renderedFile.name + "/html/" + event.name + ".html"] = event.html; event_names.push(event.name); @@ -193,11 +192,11 @@ async function generateReferenceFiles(reffiles_root) { /** * Parses a reference file and generates the JSON document, ISD documents, - * HTML documents and (unless generatePng is false) PNGs for each of its - * media time events, returning them all as a plain JSON structure rather - * than writing any files. + * and (unless generateHtml/generatePng are false) HTML documents and PNGs + * for each of its media time events, returning them all as a plain JSON + * structure rather than writing any files. */ -async function renderTTMLFile(reffiles_root, finfo, generatePng = true) { +async function renderTTMLFile(reffiles_root, finfo, generateHtml = true, generatePng = true) { const test_name = finfo.name || getTestName(finfo.path, finfo.params || {}); @@ -211,7 +210,7 @@ async function renderTTMLFile(reffiles_root, finfo, generatePng = true) { for (const offset of events) { - p.push(renderISD(doc, offset, finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path), generatePng)); + p.push(renderISD(doc, offset, finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path), generateHtml, generatePng)); } @@ -230,135 +229,141 @@ function customReplace(k, v) { } /** - * Renders a single media time event and returns its ISD, HTML and PNG as a - * plain JSON structure rather than writing any files. + * Renders a single media time event and returns its ISD and (unless + * generateHtml/generatePng are false) HTML and PNG as a plain JSON + * structure rather than writing any files. */ -async function renderISD(doc, offset, params, reffile_dir, generatePng = true) { +async function renderISD(doc, offset, params, reffile_dir, generateHtml = true, generatePng = true) { const name = filenameFromOffset(offset); - const exp_width = 640; - const exp_height = 360; + const isd = imsc.generateISD(doc, offset); - const vdiv = document.getElementById('render-div'); + let html = null; + let png = null; - vdiv.style.height = exp_height + "px"; - vdiv.style.width = exp_width + "px"; + if (generateHtml || generatePng) { - while (vdiv.firstChild) { - vdiv.removeChild(vdiv.firstChild); - } + const exp_width = 640; + const exp_height = 360; - /* create svg container */ + const vdiv = document.getElementById('render-div'); - const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); - svg.setAttribute('width', exp_width + "px"); - svg.setAttribute('height', exp_height + "px"); - svg.setAttribute("xmlns", svg.namespaceURI); + vdiv.style.height = exp_height + "px"; + vdiv.style.width = exp_width + "px"; - const fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); - fo.setAttribute('width', '100%'); - fo.setAttribute('height', '100%'); + while (vdiv.firstChild) { + vdiv.removeChild(vdiv.firstChild); + } - svg.appendChild(fo); + /* create svg container */ - /* create container div */ + const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + svg.setAttribute('width', exp_width + "px"); + svg.setAttribute('height', exp_height + "px"); + svg.setAttribute("xmlns", svg.namespaceURI); - const rdiv = document.createElement("div"); - rdiv.style.height = "100%"; - rdiv.style.width = "100%"; - rdiv.style.position = "relative"; - rdiv.style.background = "#A9A9A9"; + const fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); + fo.setAttribute('width', '100%'); + fo.setAttribute('height', '100%'); - fo.appendChild(rdiv); + svg.appendChild(fo); - vdiv.appendChild(svg); + /* create container div */ - const isd = imsc.generateISD(doc, offset); + const rdiv = document.createElement("div"); + rdiv.style.height = "100%"; + rdiv.style.width = "100%"; + rdiv.style.position = "relative"; + rdiv.style.background = "#A9A9A9"; - /* resolve images referenced by the ISD so they are embedded in the HTML */ + fo.appendChild(rdiv); - const imgs = []; + vdiv.appendChild(svg); - const imgr = function (uri, img) { - const p = (async function () { + /* resolve images referenced by the ISD so they are embedded in the HTML */ - const url = await new Promise(function (resolve) { + const imgs = []; - const png = new Image(); + const imgr = function (uri, img) { + const p = (async function () { - png.onload = function () { - const canvas = document.createElement('canvas'); - canvas.width = this.naturalWidth; - canvas.height = this.naturalHeight; + const url = await new Promise(function (resolve) { - const ctx = canvas.getContext('2d'); + const png = new Image(); - ctx.drawImage(this, 0, 0); + png.onload = function () { + const canvas = document.createElement('canvas'); + canvas.width = this.naturalWidth; + canvas.height = this.naturalHeight; - // Get raw image data + const ctx = canvas.getContext('2d'); - resolve(canvas.toDataURL('image/png')); - }; + ctx.drawImage(this, 0, 0); - png.src = reffile_dir + uri; + // Get raw image data - }); + resolve(canvas.toDataURL('image/png')); + }; - img.src = url; + png.src = reffile_dir + uri; - })(); + }); - imgs.push(p); + img.src = url; - return null; - }; + })(); - imsc.renderHTML( - isd, - rdiv, - imgr, - exp_height, - exp_width, - params.displayForcedOnlyMode === true, - errorHandler - ); + imgs.push(p); + return null; + }; - await Promise.all(imgs); + imsc.renderHTML( + isd, + rdiv, + imgr, + exp_height, + exp_width, + params.displayForcedOnlyMode === true, + errorHandler + ); - const html = rdiv.innerHTML.replace(/>\n<"); - let png = null; + await Promise.all(imgs); - if (generatePng) { + html = rdiv.innerHTML.replace(/>\n<"); - /* create PNG render */ + if (generatePng) { - const svgser = (new XMLSerializer).serializeToString(svg); + /* create PNG render */ - const canvas = document.createElement("canvas"); + const svgser = (new XMLSerializer).serializeToString(svg); - const ctx = canvas.getContext('2d'); - ctx.canvas.height = exp_height; - ctx.canvas.width = exp_width; + const canvas = document.createElement("canvas"); - const url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); + const ctx = canvas.getContext('2d'); + ctx.canvas.height = exp_height; + ctx.canvas.width = exp_width; - png = await new Promise(function (resolve) { + const url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); - const img = new Image(); - img.onload = function () { - ctx.drawImage(img, 0, 0); + png = await new Promise(function (resolve) { - const data = canvas.toDataURL("image/png"); + const img = new Image(); + img.onload = function () { + ctx.drawImage(img, 0, 0); - resolve(data.substr(data.indexOf(',') + 1)); - }; + const data = canvas.toDataURL("image/png"); + + resolve(data.substr(data.indexOf(',') + 1)); + }; - img.src = url; + img.src = url; - }); + }); + + } } From ea854c90741cae88814ed1e3a1516f6b7b3bca55 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 20:00:13 -0700 Subject: [PATCH 06/10] Improve reference file rendering --- package.json | 6 +- src/test/js/GenerateReferenceFilesTest.js | 4 +- src/test/script/gen-reference-files.mjs | 77 +++++---- src/test/script/gen-render-package.mjs | 69 ++++++++ src/test/script/gen-renders-page.mjs | 106 ++++++++++++ src/test/script/gen-renders.mjs | 49 ------ src/test/script/lib/gen-renders-page.mjs | 85 ---------- src/test/webapp/js/gen-renders.js | 193 ++++++++++------------ 8 files changed, 318 insertions(+), 271 deletions(-) create mode 100644 src/test/script/gen-render-package.mjs create mode 100644 src/test/script/gen-renders-page.mjs delete mode 100644 src/test/script/gen-renders.mjs delete mode 100644 src/test/script/lib/gen-renders-page.mjs diff --git a/package.json b/package.json index 98297bfb..51e03732 100644 --- a/package.json +++ b/package.json @@ -48,9 +48,9 @@ "scripts": { "prepublishOnly": "grunt build:release", "dev": "npx http-server build/public_html", - "gen-imsc1": "node src/test/script/gen-renders.mjs imsc-tests/imsc1 build/renders-imsc1.zip --browser=firefox ", - "gen-imsc1_1": "node src/test/script/gen-renders.mjs imsc-tests/imsc1_1 build/renders-imsc1_1.zip --browser=firefox ", - "gen-reference-files": "node src/test/script/gen-reference-files.mjs --browser=firefox", + "gen-imsc1": "node src/test/script/gen-render-package.mjs imsc-tests/imsc1 build/renders-imsc1.zip", + "gen-imsc1_1": "node src/test/script/gen-render-package.mjs imsc-tests/imsc1_1 build/renders-imsc1_1.zip", + "gen-reference-files": "node src/test/script/gen-reference-files.mjs", "install:firefox": "puppeteer browsers install firefox", "lint": "eslint .", "fix": "eslint --fix src", diff --git a/src/test/js/GenerateReferenceFilesTest.js b/src/test/js/GenerateReferenceFilesTest.js index 92626283..c6a3ef4e 100644 --- a/src/test/js/GenerateReferenceFilesTest.js +++ b/src/test/js/GenerateReferenceFilesTest.js @@ -3,7 +3,7 @@ import fs from "node:fs/promises"; import path from "node:path"; import { test } from "node:test"; import { fileURLToPath } from "node:url"; -import { withGenRendersPage } from "../script/lib/gen-renders-page.mjs"; +import { renderTTMLInBrowser } from "../script/gen-renders-page.mjs"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const REFERENCE_FILES_ROOT = path.resolve(__dirname, "..", "resources", "reference-files"); @@ -21,7 +21,7 @@ async function listFilesRecursively(dir) { async function generateAndCompare(browserProduct) { - await withGenRendersPage(browserProduct, async (page) => { + await renderTTMLInBrowser(browserProduct, async (page) => { for (const reffilesRoot of REFFILES_ROOTS) { diff --git a/src/test/script/gen-reference-files.mjs b/src/test/script/gen-reference-files.mjs index 7629aea8..36cd1438 100644 --- a/src/test/script/gen-reference-files.mjs +++ b/src/test/script/gen-reference-files.mjs @@ -1,53 +1,72 @@ #!/usr/bin/env node +/* + * Copyright (c) Sandflow Consulting LLC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ /* - * Headless equivalent of build/public_html/gen-renders.html that generates - * reference files (doc.json, ISD documents and HTML documents -- no PNGs) - * for the IMSC 1 and IMSC 1.1 test suites at src/test/resources/imsc-tests, - * writing them to src/test/resources/reference-files//. + * Generates reference files for the IMSC 1 and IMSC 1.1 test suites, writing + * them to src/test/resources/reference-files//. * - * Usage: - * node src/test/script/gen-reference-files.mjs [--browser=chrome|firefox] + * Usage: node src/test/script/gen-reference-files.mjs + * [--browser=chrome|firefox] */ import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; -import { withGenRendersPage } from "./lib/gen-renders-page.mjs"; +import { renderTTMLInBrowser } from "./gen-renders-page.mjs"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const OUTPUT_ROOT = path.resolve(__dirname, "..", "resources", "reference-files"); const REFFILES_ROOTS = ["imsc-tests/imsc1", "imsc-tests/imsc1_1"]; -async function generateReferenceFilesForRoot(page, reffilesRoot) { - console.log(`Generating reference files for "${reffilesRoot}"...`); - - const files = await page.evaluate(async (root) => { - // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context - return await generateReferenceFiles(root); - }, reffilesRoot); +async function main() { + const browserArg = process.argv.find((a) => a.startsWith("--browser=")); + const browserProduct = browserArg ? browserArg.split("=")[1] : "firefox"; - const destDir = path.join(OUTPUT_ROOT, path.basename(reffilesRoot)); + await renderTTMLInBrowser(browserProduct, async (page) => { + for (const reffilesRoot of REFFILES_ROOTS) { + console.log(`Generating reference files for "${reffilesRoot}"...`); - fs.rmSync(destDir, { recursive: true, force: true }); + const files = await page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + return await generateReferenceFiles(root); + }, reffilesRoot); - for (const [relativePath, contents] of Object.entries(files)) { - const filePath = path.join(destDir, relativePath); - fs.mkdirSync(path.dirname(filePath), { recursive: true }); - fs.writeFileSync(filePath, contents); - } + const destDir = path.join(OUTPUT_ROOT, path.basename(reffilesRoot)); - console.log(`Wrote ${Object.keys(files).length} files to ${destDir}`); -} + fs.rmSync(destDir, { recursive: true, force: true }); -async function main() { - const browserArg = process.argv.find((a) => a.startsWith("--browser=")); - const browserProduct = browserArg ? browserArg.split("=")[1] : "chrome"; + for (const [relativePath, contents] of Object.entries(files)) { + const filePath = path.join(destDir, relativePath); + fs.mkdirSync(path.dirname(filePath), { recursive: true }); + fs.writeFileSync(filePath, contents); + } - await withGenRendersPage(browserProduct, async (page) => { - for (const reffilesRoot of REFFILES_ROOTS) { - await generateReferenceFilesForRoot(page, reffilesRoot); + console.log(`Wrote ${Object.keys(files).length} files to ${destDir}`); } }); } diff --git a/src/test/script/gen-render-package.mjs b/src/test/script/gen-render-package.mjs new file mode 100644 index 00000000..104709d9 --- /dev/null +++ b/src/test/script/gen-render-package.mjs @@ -0,0 +1,69 @@ +#!/usr/bin/env node +/* + * Copyright (c) Sandflow Consulting LLC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * Renders all TTML files within a directory + * + * Usage: + * node src/test/script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] + */ + +import fs from "node:fs"; +import path from "node:path"; +import { renderTTMLInBrowser } from "./gen-renders-page.mjs"; + +async function main() { + const args = process.argv.slice(2).filter((a) => !a.startsWith("--")); + const reffilesRoot = args[0] || "imsc-tests/imsc1"; + const outFile = path.resolve(args[1] || "renders.zip"); + + const browserArg = process.argv.find((a) => a.startsWith("--browser=")); + const browserProduct = browserArg ? browserArg.split("=")[1] : "firefox"; + + console.log(`Generating renders for "${reffilesRoot}"...`); + + const base64Zip = await renderTTMLInBrowser(browserProduct, (page) => page.evaluate(async (root) => { + // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context + const blob = await generateRenderPackageAsZip(root); + + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onload = () => resolve(reader.result.split(",")[1]); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }); + }, reffilesRoot)); + + fs.writeFileSync(outFile, Buffer.from(base64Zip, "base64")); + + console.log(`Wrote ${outFile}`); +} + +main().catch((err) => { + console.error(err); + process.exitCode = 1; +}); diff --git a/src/test/script/gen-renders-page.mjs b/src/test/script/gen-renders-page.mjs new file mode 100644 index 00000000..8c936c1e --- /dev/null +++ b/src/test/script/gen-renders-page.mjs @@ -0,0 +1,106 @@ +/* + * Copyright (c) Sandflow Consulting LLC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * Render TTML files in browser + */ + +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import puppeteer from "puppeteer"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +export const PUBLIC_DIR = path.resolve(__dirname, "..", "..", "..", "build", "public_html"); + +const MIME_TYPES = { + ".html": "text/html", + ".js": "text/javascript", + ".css": "text/css", + ".json": "application/json", + ".ttml": "application/xml", + ".xml": "application/xml", + ".png": "image/png", +}; + +/** + * Renders a TTML file within the `gen-renders.html` page using puppeteer + * + * @param {string} browserProduct Puppeteer browser product to launch, e.g. "chrome" or "firefox" + * @param {(page: import("puppeteer").Page) => Promise<*>} fn Callback invoked with the Puppeteer page, once gen-renders.html has loaded + * @returns {Promise<*>} Whatever fn's returned promise resolves to + */ +export async function renderTTMLInBrowser(browserProduct, fn) { + if (!fs.existsSync(PUBLIC_DIR)) { + throw new Error(`${PUBLIC_DIR} does not exist. Run "grunt build" first.`); + } + + const browser = await puppeteer.launch({ + browser: browserProduct, + headless: true, + }); + + try { + const page = await browser.newPage(); + + page.on("console", (msg) => console.log(`[page] ${msg.text()}`)); + page.on("pageerror", (err) => console.error(`[page error] ${err}`)); + + // Answers every request against a fake origin straight from + // build/public_html, so no real HTTP server needs to be listening. + await page.setRequestInterception(true); + + page.on("request", (request) => { + const urlPath = decodeURIComponent(new URL(request.url()).pathname); + const filePath = path.join(PUBLIC_DIR, urlPath); + + if (!filePath.startsWith(PUBLIC_DIR)) { + request.respond({ status: 403 }); + return; + } + + fs.readFile(filePath, (err, data) => { + if (err) { + request.respond({ status: 404 }); + return; + } + + const ext = path.extname(filePath).toLowerCase(); + request.respond({ + status: 200, + contentType: MIME_TYPES[ext] || "application/octet-stream", + body: data, + }); + }); + }); + + await page.goto("http://gen-renders.local/gen-renders.html", { waitUntil: "load" }); + + return await fn(page); + } finally { + await browser.close(); + } +} diff --git a/src/test/script/gen-renders.mjs b/src/test/script/gen-renders.mjs deleted file mode 100644 index b9edeb9e..00000000 --- a/src/test/script/gen-renders.mjs +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env node - -/* - * Headless equivalent of build/public_html/gen-renders.html. - * - * Drives it with Puppeteer against a fake origin whose requests are - * intercepted and answered straight from build/public_html on disk - * (no HTTP server needed), calls generateRenders() - * in-page to get the renders.zip Blob directly, and writes it to disk. - * - * Usage: - * node src/test/script/gen-renders.mjs [imsc-tests/imsc1|imsc-tests/imsc1_1] [outfile] [--browser=chrome|firefox] - */ - -import fs from "node:fs"; -import path from "node:path"; -import { withGenRendersPage } from "./lib/gen-renders-page.mjs"; - -async function main() { - const args = process.argv.slice(2).filter((a) => !a.startsWith("--")); - const reffilesRoot = args[0] || "imsc-tests/imsc1"; - const outFile = path.resolve(args[1] || "renders.zip"); - - const browserArg = process.argv.find((a) => a.startsWith("--browser=")); - const browserProduct = browserArg ? browserArg.split("=")[1] : "chrome"; - - console.log(`Generating renders for "${reffilesRoot}"...`); - - const base64Zip = await withGenRendersPage(browserProduct, (page) => page.evaluate(async (root) => { - // eslint-disable-next-line no-undef -- injected by gen-renders.js in the page context - const blob = await generateRenders(root); - - return new Promise((resolve, reject) => { - const reader = new FileReader(); - reader.onload = () => resolve(reader.result.split(",")[1]); - reader.onerror = () => reject(reader.error); - reader.readAsDataURL(blob); - }); - }, reffilesRoot)); - - fs.writeFileSync(outFile, Buffer.from(base64Zip, "base64")); - - console.log(`Wrote ${outFile}`); -} - -main().catch((err) => { - console.error(err); - process.exitCode = 1; -}); diff --git a/src/test/script/lib/gen-renders-page.mjs b/src/test/script/lib/gen-renders-page.mjs deleted file mode 100644 index f2be1631..00000000 --- a/src/test/script/lib/gen-renders-page.mjs +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Shared Puppeteer setup for driving build/public_html/gen-renders.html - * headlessly: launches a browser, serves build/public_html straight off - * disk against a fake origin (no HTTP server needed), and navigates to - * gen-renders.html so its page-global functions (generateRenders, - * generateReferenceFiles, ...) are ready to call via page.evaluate(). - */ - -import fs from "node:fs"; -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import puppeteer from "puppeteer"; - -const __dirname = path.dirname(fileURLToPath(import.meta.url)); -export const PUBLIC_DIR = path.resolve(__dirname, "..", "..", "..", "..", "build", "public_html"); - -const MIME_TYPES = { - ".html": "text/html", - ".js": "text/javascript", - ".css": "text/css", - ".json": "application/json", - ".ttml": "application/xml", - ".xml": "application/xml", - ".png": "image/png", -}; - -// Answers every request against a fake origin straight from build/public_html, -// so no real HTTP server needs to be listening. -async function serveFromDisk(page, rootDir) { - await page.setRequestInterception(true); - - page.on("request", (request) => { - const urlPath = decodeURIComponent(new URL(request.url()).pathname); - const filePath = path.join(rootDir, urlPath); - - if (!filePath.startsWith(rootDir)) { - request.respond({ status: 403 }); - return; - } - - fs.readFile(filePath, (err, data) => { - if (err) { - request.respond({ status: 404 }); - return; - } - - const ext = path.extname(filePath).toLowerCase(); - request.respond({ - status: 200, - contentType: MIME_TYPES[ext] || "application/octet-stream", - body: data, - }); - }); - }); -} - -/* - * Launches Puppeteer, navigates to gen-renders.html, calls fn(page) and - * closes the browser once fn's returned promise settles. - */ -export async function withGenRendersPage(browserProduct, fn) { - if (!fs.existsSync(PUBLIC_DIR)) { - throw new Error(`${PUBLIC_DIR} does not exist. Run "grunt build" first.`); - } - - const browser = await puppeteer.launch({ - browser: browserProduct, - headless: true, - }); - - try { - const page = await browser.newPage(); - - page.on("console", (msg) => console.log(`[page] ${msg.text()}`)); - page.on("pageerror", (err) => console.error(`[page error] ${err}`)); - - await serveFromDisk(page, PUBLIC_DIR); - - await page.goto("http://gen-renders.local/gen-renders.html", { waitUntil: "load" }); - - return await fn(page); - } finally { - await browser.close(); - } -} diff --git a/src/test/webapp/js/gen-renders.js b/src/test/webapp/js/gen-renders.js index 3ae9ef4b..515a2ce1 100644 --- a/src/test/webapp/js/gen-renders.js +++ b/src/test/webapp/js/gen-renders.js @@ -78,7 +78,7 @@ function filenameFromOffset(offset) { return offset.toFixed(6).toString(); } -async function generateRenders(reffiles_root) { +async function generateRenderPackageAsZip(reffiles_root) { const zip = new JSZip(); @@ -134,9 +134,9 @@ async function generateRenders(reffiles_root) { return await zip.generateAsync({type: "blob"}); } -async function generateAndDownloadRenders(reffiles_root) { +async function downloadRenderPackageAsZip(reffiles_root) { - const zipfile = await generateRenders(reffiles_root); + const zipfile = await generateRenderPackageAsZip(reffiles_root); return saveAs(zipfile, "renders.zip"); @@ -158,7 +158,7 @@ async function generateReferenceFiles(reffiles_root) { for (const finfo of finfos) { - p.push(renderTTMLFile(reffiles_root, finfo, false, false)); + p.push(renderTTMLFile(reffiles_root, finfo)); } @@ -167,21 +167,21 @@ async function generateReferenceFiles(reffiles_root) { const files = {}; const manifest = {}; - for (const renderedFile of renders) { + for (const render of renders) { - files[renderedFile.name + "/doc.json"] = JSON.stringify(renderedFile.doc, customReplace, 2); + files[render.name + "/doc.json"] = JSON.stringify(render.doc, customReplace, 2); const event_names = []; - for (const event of renderedFile.events) { + for (const event of render.events) { - files[renderedFile.name + "/isd/" + event.name + ".json"] = JSON.stringify(event.isd, customReplace, 2); + files[render.name + "/isd/" + event.name + ".json"] = JSON.stringify(event.isd, customReplace, 2); event_names.push(event.name); } - manifest[renderedFile.name] = event_names; + manifest[render.name] = event_names; } @@ -192,11 +192,10 @@ async function generateReferenceFiles(reffiles_root) { /** * Parses a reference file and generates the JSON document, ISD documents, - * and (unless generateHtml/generatePng are false) HTML documents and PNGs - * for each of its media time events, returning them all as a plain JSON - * structure rather than writing any files. + * HTML documents and PNGs for each of its media time events, returning them + * all as a plain JSON structure rather than writing any files. */ -async function renderTTMLFile(reffiles_root, finfo, generateHtml = true, generatePng = true) { +async function renderTTMLFile(reffiles_root, finfo) { const test_name = finfo.name || getTestName(finfo.path, finfo.params || {}); @@ -210,7 +209,7 @@ async function renderTTMLFile(reffiles_root, finfo, generateHtml = true, generat for (const offset of events) { - p.push(renderISD(doc, offset, finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path), generateHtml, generatePng)); + p.push(renderISD(doc, offset, finfo.params || {}, getReferenceFileDirectory(reffiles_root, finfo.path))); } @@ -229,143 +228,131 @@ function customReplace(k, v) { } /** - * Renders a single media time event and returns its ISD and (unless - * generateHtml/generatePng are false) HTML and PNG as a plain JSON - * structure rather than writing any files. + * Renders a single media time event and returns its ISD, HTML and PNG as a + * plain JSON structure rather than writing any files. */ -async function renderISD(doc, offset, params, reffile_dir, generateHtml = true, generatePng = true) { +async function renderISD(doc, offset, params, reffile_dir) { const name = filenameFromOffset(offset); const isd = imsc.generateISD(doc, offset); - let html = null; - let png = null; - - if (generateHtml || generatePng) { - - const exp_width = 640; - const exp_height = 360; - - const vdiv = document.getElementById('render-div'); - - vdiv.style.height = exp_height + "px"; - vdiv.style.width = exp_width + "px"; - - while (vdiv.firstChild) { - vdiv.removeChild(vdiv.firstChild); - } + const exp_width = 640; + const exp_height = 360; - /* create svg container */ + const vdiv = document.getElementById('render-div'); - const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); - svg.setAttribute('width', exp_width + "px"); - svg.setAttribute('height', exp_height + "px"); - svg.setAttribute("xmlns", svg.namespaceURI); + vdiv.style.height = exp_height + "px"; + vdiv.style.width = exp_width + "px"; - const fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); - fo.setAttribute('width', '100%'); - fo.setAttribute('height', '100%'); + while (vdiv.firstChild) { + vdiv.removeChild(vdiv.firstChild); + } - svg.appendChild(fo); + /* create svg container */ - /* create container div */ + const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + svg.setAttribute('width', exp_width + "px"); + svg.setAttribute('height', exp_height + "px"); + svg.setAttribute("xmlns", svg.namespaceURI); - const rdiv = document.createElement("div"); - rdiv.style.height = "100%"; - rdiv.style.width = "100%"; - rdiv.style.position = "relative"; - rdiv.style.background = "#A9A9A9"; + const fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"); + fo.setAttribute('width', '100%'); + fo.setAttribute('height', '100%'); - fo.appendChild(rdiv); + svg.appendChild(fo); - vdiv.appendChild(svg); + /* create container div */ - /* resolve images referenced by the ISD so they are embedded in the HTML */ + const rdiv = document.createElement("div"); + rdiv.style.height = "100%"; + rdiv.style.width = "100%"; + rdiv.style.position = "relative"; + rdiv.style.background = "#A9A9A9"; - const imgs = []; + fo.appendChild(rdiv); - const imgr = function (uri, img) { - const p = (async function () { + vdiv.appendChild(svg); - const url = await new Promise(function (resolve) { + /* resolve images referenced by the ISD so they are embedded in the HTML */ - const png = new Image(); + const imgs = []; - png.onload = function () { - const canvas = document.createElement('canvas'); - canvas.width = this.naturalWidth; - canvas.height = this.naturalHeight; + const imgr = function (uri, img) { + const p = (async function () { - const ctx = canvas.getContext('2d'); + const url = await new Promise(function (resolve) { - ctx.drawImage(this, 0, 0); + const png = new Image(); - // Get raw image data + png.onload = function () { + const canvas = document.createElement('canvas'); + canvas.width = this.naturalWidth; + canvas.height = this.naturalHeight; - resolve(canvas.toDataURL('image/png')); - }; + const ctx = canvas.getContext('2d'); - png.src = reffile_dir + uri; + ctx.drawImage(this, 0, 0); - }); + // Get raw image data - img.src = url; + resolve(canvas.toDataURL('image/png')); + }; - })(); + png.src = reffile_dir + uri; - imgs.push(p); + }); - return null; - }; + img.src = url; - imsc.renderHTML( - isd, - rdiv, - imgr, - exp_height, - exp_width, - params.displayForcedOnlyMode === true, - errorHandler - ); + })(); + imgs.push(p); - await Promise.all(imgs); + return null; + }; - html = rdiv.innerHTML.replace(/>\n<"); + imsc.renderHTML( + isd, + rdiv, + imgr, + exp_height, + exp_width, + params.displayForcedOnlyMode === true, + errorHandler + ); - if (generatePng) { - /* create PNG render */ + await Promise.all(imgs); - const svgser = (new XMLSerializer).serializeToString(svg); + const html = rdiv.innerHTML.replace(/>\n<"); - const canvas = document.createElement("canvas"); + /* create PNG render */ - const ctx = canvas.getContext('2d'); - ctx.canvas.height = exp_height; - ctx.canvas.width = exp_width; + const svgser = (new XMLSerializer).serializeToString(svg); - const url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); + const canvas = document.createElement("canvas"); - png = await new Promise(function (resolve) { + const ctx = canvas.getContext('2d'); + ctx.canvas.height = exp_height; + ctx.canvas.width = exp_width; - const img = new Image(); - img.onload = function () { - ctx.drawImage(img, 0, 0); + const url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(svgser); - const data = canvas.toDataURL("image/png"); + const png = await new Promise(function (resolve) { - resolve(data.substr(data.indexOf(',') + 1)); - }; + const img = new Image(); + img.onload = function () { + ctx.drawImage(img, 0, 0); - img.src = url; + const data = canvas.toDataURL("image/png"); - }); + resolve(data.substr(data.indexOf(',') + 1)); + }; - } + img.src = url; - } + }); return { 'name': name, From 314662a245777554dcb754d6b5c6337532e4b231 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 20:08:25 -0700 Subject: [PATCH 07/10] Add sandbox to Chrome CI --- src/test/script/gen-renders-page.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/script/gen-renders-page.mjs b/src/test/script/gen-renders-page.mjs index 8c936c1e..2c79c651 100644 --- a/src/test/script/gen-renders-page.mjs +++ b/src/test/script/gen-renders-page.mjs @@ -61,6 +61,7 @@ export async function renderTTMLInBrowser(browserProduct, fn) { const browser = await puppeteer.launch({ browser: browserProduct, headless: true, + args: browserProduct === "chrome" ? ["--no-sandbox", "--disable-setuid-sandbox"] : [], }); try { @@ -78,12 +79,14 @@ export async function renderTTMLInBrowser(browserProduct, fn) { const filePath = path.join(PUBLIC_DIR, urlPath); if (!filePath.startsWith(PUBLIC_DIR)) { + console.error(`[serve] 403 ${request.url()} (outside ${PUBLIC_DIR})`); request.respond({ status: 403 }); return; } fs.readFile(filePath, (err, data) => { if (err) { + console.error(`[serve] 404 ${request.url()} -> ${filePath}`); request.respond({ status: 404 }); return; } From 9df9f8d6be70ee326b1f9334268c287b60c271de Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 20:10:19 -0700 Subject: [PATCH 08/10] Check out git submodules in CI CI's actions/checkout step never set submodules: true, so src/test/resources/imsc-tests (a git submodule) was checked out empty. grunt build's sync task had nothing to copy, leaving tests.json and the TTML fixtures missing from build/public_html and causing every headless render/reference-file test to 404 on the first fetch. --- .github/workflows/ci.pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.pr.yml b/.github/workflows/ci.pr.yml index f93af055..0dda2ee5 100644 --- a/.github/workflows/ci.pr.yml +++ b/.github/workflows/ci.pr.yml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: actions/setup-node@v4 with: From 9644ef9b0314f2de1429cc18d0295d95321b5271 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Tue, 1 Sep 2026 20:50:19 -0700 Subject: [PATCH 09/10] Improved README Comparison script --- CONTRIBUTING | 22 ++ Pipfile | 10 + Pipfile.lock | 115 ++++++ README.md | 119 +++---- src/test/script/compare_renders.py | 501 +++++++++++++++++++++++++++ src/test/script/gen-renders-page.mjs | 7 + 6 files changed, 715 insertions(+), 59 deletions(-) create mode 100644 CONTRIBUTING create mode 100644 Pipfile create mode 100644 Pipfile.lock create mode 100755 src/test/script/compare_renders.py diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 00000000..69872a9f --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,22 @@ +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I have the right +to submit it under the open source license indicated in the file; or + +(b) The contribution is based upon previous work that, to the best of my +knowledge, is covered under an appropriate open source license and I have the +right under that license to submit that work with modifications, whether created +in whole or in part by me, under the same open source license (unless I am +permitted to submit under a different license), as indicated in the file; or + +(c) The contribution was provided directly to me by some other person who +certified (a), (b) or (c) and I have not modified it. + +(d) I understand and agree that this project and the contribution are public and +that a record of the contribution (including all personal information I submit +with it, including my sign-off) is maintained indefinitely and may be +redistributed consistent with this project or the open source license(s) +involved. + +Only contributions with a license compatible with the license at LICENSE.txt can +be accepted. \ No newline at end of file diff --git a/Pipfile b/Pipfile new file mode 100644 index 00000000..64978411 --- /dev/null +++ b/Pipfile @@ -0,0 +1,10 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +pillow = "*" + +[requires] +python_version = "3" diff --git a/Pipfile.lock b/Pipfile.lock new file mode 100644 index 00000000..c0b48004 --- /dev/null +++ b/Pipfile.lock @@ -0,0 +1,115 @@ +{ + "_meta": { + "hash": { + "sha256": "3d3ae67dbccded22aa87daa18b964e5b8925b40f26a587d897840d8edfc72590" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": { + "pillow": { + "hashes": [ + "sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756", + "sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a", + "sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59", + "sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45", + "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", + "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", + "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", + "sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b", + "sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39", + "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", + "sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8", + "sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1", + "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", + "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", + "sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5", + "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", + "sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd", + "sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d", + "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", + "sha256:25b9b82bb22e6e2b3cd07b39c68b7b862001226cb3dff7130d1cb914121b39ed", + "sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace", + "sha256:300557495eb45ebb8aec96c2da9c4be642fbf7cd937278b4013ba894ea8eb0eb", + "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", + "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", + "sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6", + "sha256:37dc8f7bbb66efe481bb60defacef820c950c24713fb44962ed6aa2a50966de1", + "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", + "sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385", + "sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e", + "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", + "sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7", + "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", + "sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c", + "sha256:514435a37670e3e5e08f3945b68718b6ed329bb84367777e16f9f4dfe1e61a0f", + "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", + "sha256:5594fc43d548a7ed94949d139aa1341b270f1863f11cfd37f5a6c8b778a6b67f", + "sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a", + "sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827", + "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", + "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", + "sha256:6c0016e7b354317c4e9e525b937ac8596c38d2d232b419529b9cd7a1cd46e39a", + "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", + "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", + "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", + "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", + "sha256:85f998ea1848bc6757289e739cfbdda3a04adfd58b02fc018ce54d754a5ce468", + "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", + "sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658", + "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", + "sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a", + "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", + "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", + "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", + "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", + "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", + "sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f", + "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", + "sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a", + "sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94", + "sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468", + "sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b", + "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", + "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", + "sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd", + "sha256:bcc33feacfaefce60c12fd500a277533bdc02b10a19f7f6d348763d8140bbba7", + "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", + "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", + "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", + "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", + "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", + "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", + "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", + "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", + "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", + "sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3", + "sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838", + "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", + "sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321", + "sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26", + "sha256:f0606c8bf2cdefea14a43530f7657cbbb7ecf1c4222512492ef4a4434a9501ec", + "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", + "sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65", + "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", + "sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e", + "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", + "sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198", + "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7" + ], + "index": "pypi", + "markers": "python_version >= '3.10'", + "version": "==12.3.0" + } + }, + "develop": {} +} diff --git a/README.md b/README.md index 39fb7ef6..c1e9d26e 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,13 @@ +# imscJS + _ _ _____ (_) | | / ____| _ _ __ ___ ___ ___ | | | (___ | | | '_ ` _ \ / __| / __| _ | | \___ \ | | | | | | | | \__ \ | (__ | |__| | ____) | |_| |_| |_| |_| |___/ \___| \____/ |_____/ - - - -INTRODUCTION -============ + +## Introduction imscJS is a JavaScript library for rendering [IMSC 1.0.1](https://www.w3.org/TR/ttml-imsc1.0.1/) and [IMSC 1.1](https://www.w3.org/TR/ttml-imsc1.1/) documents to HTML5. IMSC is a profile of [TTML 2](https://www.w3.org/TR/ttml2/) designed for subtitle and caption delivery worldwide. @@ -16,10 +15,7 @@ A sample web app that uses imscJS is available at https://www.sandflow.com/imsc1 Documentation is available on [MDN](https://developer.mozilla.org/en-US/docs/Related/IMSC). - - -KNOWN ISSUES AND LIMITATIONS -============================ +## Known issues and limitations imscJS is primarily developed on Firefox. Latest versions of Chrome, Safari, and Microsoft Edge are intended to be supported nevertheless, albeit with potentially reduced capabilities. In particular, advanced ruby layout is currently only supported by Firefox. @@ -27,28 +23,19 @@ imscJS is intended to reflect the most recent published versions of [IMSC 1.0.1] imscJS bugs are tracked at https://github.com/sandflow/imscJS/issues. - - -RUNTIME DEPENDENCIES -==================== +## Runtime dependencies imscJS requires an XML parser. By default it uses the browser's native [`DOMParser`](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser), so no additional library is needed in a browser environment. In environments where `DOMParser` is not available, e.g. Node.js, the caller must provide `fromXML()` with a parser that implements the contract defined in [src/main/js/parser.js](src/main/js/parser.js), e.g. [sax-js](https://www.npmjs.com/package/sax). Rendering to HTML5 requires a browser environment, but parsing an IMSC document and transforming it into ISDs does not. - - -DEVELOPMENT DEPENDENCIES -======================== +## Development dependencies (required) node.js (see [package.json](package.json) for a complete list of dependencies) (recommended) git - - -QUICK START -=========== +## Quick start * run the `build` target defined in [Gruntfile.cjs](./Gruntfile.cjs) using [grunt](http://gruntjs.com/). @@ -60,13 +47,9 @@ QUICK START See BUILD ARTIFACTS for a full list of build artifacts, and TESTS AND SAMPLES for a list of samples and tests available. +## Architecture - -ARCHITECTURE -============ - -API ---- +### API imscJS renders an IMSC document in three distinct steps: @@ -80,41 +63,37 @@ In each step, the caller can provide an `errorHandler` to be notified of events Inline documentation provides additional information. +### Modules -MODULES -------- - -imscJS consists of the following modules, which can be used in a node -environment using the `require` functionality, or standalone, in which case each module hosts its -definitions under a global name (the token between parantheses): - -* `doc.js` (`imscDoc`): parses an IMSC document into an in-memory TT object -* `isd.js` (`imscISD`): generates an ISD object from a TT object -* `html.js` (`imscHTML`): generates an HTML fragment from an ISD object -* `names.js` (`imscNames`): common constants -* `styles.js` (`imscStyles`): defines TTML styling attributes processing -* `utils.js` (`imscUtils`): common utility functions - +imscJS consists of the following ES modules at [src/main/js](src/main/js), which can be imported individually, or used together as the `imsc` global when loaded as a UMD bundle (see [Build](#build)): +* `main.js`: public entry point; exposes `fromXML()`, `renderHTML()`, `generateISD()` and `createSAXParserFromDOMParser()` +* `doc.js`: parses an IMSC document into an in-memory TT object +* `parser.js`: defines the XML parser contract expected by `doc.js` +* `dom_to_parser.js`: implements the XML parser contract using the browser's `DOMParser` +* `isd.js`: generates an ISD object from a TT object +* `html.js`: generates an HTML fragment from an ISD object +* `names.js`: common constants +* `styles.js`: defines TTML styling attributes processing +* `utils.js`: common utility functions +* `error.js`: defines error handling utilities used across modules -BUILD -===== +## Build imscJS is built using the `build:release` or `build:debug` Grunt tasks -- the `build` task is an alias of `build:debug`. The `dist` directory contains the following build artifacts: + * `imsc.debug.js`: Non-minified UMD build. * `imsc.min.js`: Minified UMD build. * `main/`: ES modules and TypeScript type declarations, used when the library is imported as an NPM package. The `build/public_html/libs/imsc.js` file is identical to: + * `imsc.debug.js`, if the `build:debug` task is executed. * `imsc.min.js`, if the `build:release` task is executed. - - -RELEASES -======== +## Releases imscJS is released as an NPM package under [imsc](https://www.npmjs.com/package/imsc). The `dev` distribution tag indicates pre-releases. @@ -122,29 +101,39 @@ Builds/dist are available on the [unpkg](https://unpkg.com/) CDN under the [`dis To access the latest builds, please consult the [release page](https://github.com/sandflow/imscJS/releases). +## Tests and samples +### W3C Test Suite -TESTS AND SAMPLES -================= +The `gen-renders.html` web app or the headless script [src/test/script/gen-render-package.mjs](src/test/script/gen-render-package.mjs) can be used to generate PNG renderings as well as intermediary files (JSON document, ISD documents and HTML documents) from the [W3C IMSC test suite](https://github.com/w3c/imsc-tests). +```sh +npm run gen-imsc1 +npm run gen-imsc1_1 +``` -W3C Test Suite --------------- +[src/test/script/compare_renders.py](src/test/script/compare_renders.py) compares two such render outputs (unzipped), performing byte-level, JSON/HTML and pixel-level PNG diffs, and optionally generating an HTML comparison report. -imscJS imports the [IMSC test suite](https://github.com/w3c/imsc-tests) as a submodule at `src/test/resources/imsc-tests`. The gen-renders.html web app can be used to generate PNG renderings as as well intermediary files from these tests. +```sh +pipenv install +pipenv run python3 src/test/script/compare_renders.py +``` +### Unit tests -Unit tests ----------- +Unit tests run using Node's built-in [test runner](https://nodejs.org/api/test.html) and are located at [src/test/js](src/test/js). They can be run with: -Unit tests run using [QUnit](https://qunitjs.com/) are split between: +```sh +npm test +``` -* [src/test/webapp/js/unit-tests.js](src/test/webapp/js/unit-tests.js) -* [src/test/js](src/test/js) +Some unit tests validate rendering output against the reference files at [src/test/resources/reference-files](src/test/resources/reference-files). These reference files are generated from the [W3C IMSC test suite](https://github.com/w3c/imsc-tests) by running: +```sh +npm run gen-reference-files +``` -NOTABLE DIRECTORIES AND FILES -============================= +## Notable directories and files * [package.json](package.json): NPM package definition @@ -152,12 +141,24 @@ NOTABLE DIRECTORIES AND FILES * [properties.json](properties.json): General project properties +* [eslint.config.js](eslint.config.js): ESLint configuration + +* [tsconfig.json](tsconfig.json): TypeScript configuration used to generate the type declarations in `dist/main` + +* [rollup.config.js](rollup.config.js): Rollup configuration used to bundle `dist/main` into the UMD builds at `dist/imsc.debug.js` and `dist/imsc.min.js` + +* [src/test/script/Pipfile](src/test/script/Pipfile): [pipenv](https://pipenv.pypa.io/) dependency declaration for `compare_renders.py` + * [LICENSE](LICENSE): License under which imscJS is made available +* [CONTRIBUTING](CONTRIBUTING): Certification required of contributions to imscJS + * [src/main/js](src/main/js): JavaScript modules * [src/test](src/test): Test files +* [src/test/webapp](src/test/webapp): Web app, used to generate PNG renderings and intermediary files from the W3C IMSC test suite + * [dist](dist): Built libraries * [build/public_html](build/public_html): Test web applications diff --git a/src/test/script/compare_renders.py b/src/test/script/compare_renders.py new file mode 100755 index 00000000..f3116773 --- /dev/null +++ b/src/test/script/compare_renders.py @@ -0,0 +1,501 @@ +#!/usr/bin/env python3 +""" +Render Directory Comparison Tool + +Compares two IMSC render directories (e.g. renders-imsc1 and renders-old-1), +performing deep file analysis: + 1. File tree & count validation + 2. Byte-level diffs and PNG chunk inspection + 3. 100% pixel-by-pixel image verification using PIL + 4. JSON and HTML structural diff analysis + 5. Standalone HTML comparison report generation +""" + +import argparse +import difflib +import json +import struct +import sys +from collections import Counter +from pathlib import Path + +try: + from PIL import Image, ImageChops +except ImportError: + print("Warning: PIL not found. Pixel-level PNG comparison will be skipped.") + Image = None + ImageChops = None + + +def parse_png_chunks(data: bytes): + """Parse PNG chunks from raw bytes.""" + if data[:8] != b'\x89PNG\r\n\x1a\n': + return [] + pos = 8 + chunks = [] + while pos < len(data): + length = struct.unpack('>I', data[pos:pos + 4])[0] + ctype = data[pos + 4:pos + 8].decode('latin1', errors='replace') + chunks.append((ctype, length)) + pos += 12 + length + return chunks + + +def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None): + print(f"Comparing:") + print(f" Directory 1: {dir1}") + print(f" Directory 2: {dir2}\n") + + if not dir1.exists() or not dir2.exists(): + print(f"Error: One or both directories do not exist.") + sys.exit(1) + + files1 = {p.relative_to(dir1) for p in dir1.rglob('*') if p.is_file()} + files2 = {p.relative_to(dir2) for p in dir2.rglob('*') if p.is_file()} + + only_in_1 = sorted(list(files1 - files2)) + only_in_2 = sorted(list(files2 - files1)) + common = sorted(list(files1 & files2)) + + print(f"=== File Summary ===") + print(f"Total files in Dir 1: {len(files1)}") + print(f"Total files in Dir 2: {len(files2)}") + print(f"Common files: {len(common)}") + if only_in_1: + print(f"Only in Dir 1 ({len(only_in_1)}): {only_in_1[:5]}...") + if only_in_2: + print(f"Only in Dir 2 ({len(only_in_2)}): {only_in_2[:5]}...") + + byte_identical = [] + byte_different = [] + + diff_by_ext = Counter() + diff_files = [] + + for rel in common: + p1 = dir1 / rel + p2 = dir2 / rel + b1 = p1.read_bytes() + b2 = p2.read_bytes() + + if b1 == b2: + byte_identical.append(rel) + else: + byte_different.append(rel) + diff_by_ext[rel.suffix] += 1 + diff_files.append(rel) + + print(f"\n=== Byte-Level Results ===") + print(f"Byte-identical files: {len(byte_identical)}") + print(f"Byte-different files: {len(byte_different)}") + for ext, count in diff_by_ext.items(): + print(f" {ext or '[no ext]':10}: {count} modified") + + # PNG Pixel Comparison + png_files = [f for f in common if f.suffix.lower() == '.png'] + print(f"\n=== PNG Pixel Comparison ({len(png_files)} files) ===") + pixel_identical = 0 + pixel_different = [] + + if Image is not None: + for p in png_files: + p1 = dir1 / p + p2 = dir2 / p + im1 = Image.open(p1) + im2 = Image.open(p2) + + if im1.size != im2.size or im1.mode != im2.mode: + pixel_different.append((p, f"Dimension/mode mismatch: {im1.size}/{im1.mode} vs {im2.size}/{im2.mode}")) + continue + + diff = ImageChops.difference(im1, im2) + bbox = diff.getbbox() + if bbox is None: + pixel_identical += 1 + else: + pixel_different.append((p, f"Non-zero bounding box diff: {bbox}")) + + if png_files: + print(f"Pixel Identical: {pixel_identical} / {len(png_files)} ({pixel_identical/len(png_files)*100:.1f}%)") + print(f"Pixel Different: {len(pixel_different)}") + if pixel_different: + for p, reason in pixel_different[:10]: + print(f" - {p}: {reason}") + else: + print("Skipping pixel analysis (PIL not installed).") + + # JSON Analysis + json_diffs = [f for f in diff_files if f.suffix == '.json'] + print(f"\n=== JSON Document Diffs ({len(json_diffs)} files) ===") + for j in json_diffs[:5]: + print(f" - {j}") + if len(json_diffs) > 5: + print(f" ... and {len(json_diffs) - 5} more.") + + # HTML Analysis + html_diffs = [f for f in diff_files if f.suffix == '.html'] + print(f"\n=== HTML Render Diffs ({len(html_diffs)} files) ===") + for h in html_diffs: + print(f" - {h}") + + # Generate HTML Report if requested + if generate_html_path: + generate_html_report( + dir1=dir1, + dir2=dir2, + output_path=generate_html_path, + total_files=len(common), + byte_identical=len(byte_identical), + byte_different=len(byte_different), + png_total=len(png_files), + pixel_identical=pixel_identical, + pixel_different=pixel_different, + json_diffs=json_diffs, + html_diffs=html_diffs, + ) + print(f"\nHTML report successfully written to: {generate_html_path}") + + +def _html_escape(text: str) -> str: + return text.replace('&', '&').replace('<', '<').replace('>', '>') + + +def _read_lines(path: Path): + try: + return path.read_text(encoding='utf-8').splitlines() + except UnicodeDecodeError: + return path.read_text(encoding='utf-8', errors='replace').splitlines() + + +def _json_pretty_lines(path: Path): + """Returns pretty-printed, key-sorted JSON lines, or the raw file's lines + if it does not parse as JSON.""" + try: + data = json.loads(path.read_text(encoding='utf-8')) + return json.dumps(data, indent=2, sort_keys=True).splitlines() + except (json.JSONDecodeError, OSError): + return _read_lines(path) + + +def _unified_diff_html(lines1, lines2, max_lines=60): + """Renders a unified diff between two line lists as highlighted HTML.""" + diff = [ + line for line in difflib.unified_diff(lines1, lines2, lineterm='') + if not (line.startswith('---') or line.startswith('+++')) + ] + truncated = len(diff) > max_lines + diff = diff[:max_lines] + + rendered = [] + for line in diff: + escaped = _html_escape(line) + if line.startswith('+'): + rendered.append(f'{escaped}') + elif line.startswith('-'): + rendered.append(f'{escaped}') + else: + rendered.append(escaped) + + body = "\n".join(rendered) if rendered else "(no textual differences)" + if truncated: + body += "\n... (diff truncated)" + return body + + +def _render_diff_section(dir1, dir2, files, max_samples=5, as_json=False): + """Builds a chip list of every diffed file, plus real unified diffs for + up to max_samples of them, read from dir1/dir2.""" + chips = "".join(f'{_html_escape(str(f))}' for f in files) + + blocks = [] + for f in files[:max_samples]: + p1, p2 = dir1 / f, dir2 / f + lines1 = _json_pretty_lines(p1) if as_json else _read_lines(p1) + lines2 = _json_pretty_lines(p2) if as_json else _read_lines(p2) + diff_html = _unified_diff_html(lines1, lines2) + blocks.append(f''' +
+
{_html_escape(str(f))}
+
{diff_html}
+
''') + + remaining = len(files) - len(files[:max_samples]) + more_note = ( + f'

' + f'... and {remaining} more file(s) not shown.

' + if remaining > 0 else "" + ) + + return chips, "".join(blocks), more_note + + +def generate_html_report(dir1, dir2, output_path, total_files, byte_identical, byte_different, + png_total, pixel_identical, pixel_different, json_diffs, html_diffs): + """Generates a responsive, modern HTML comparison report reflecting the + actual differences found between dir1 and dir2.""" + + pixel_pct = (pixel_identical / png_total * 100) if png_total else 100.0 + pixel_color = "var(--accent-green)" if not pixel_different else "var(--accent-yellow)" + + pixel_diff_rows = "".join( + f'{_html_escape(str(p))}{_html_escape(reason)}' + for p, reason in pixel_different[:20] + ) + pixel_diff_table = f''' + + + {pixel_diff_rows} +
FileDifference
''' if pixel_different else "" + + json_chips, json_blocks, json_more = _render_diff_section(dir1, dir2, json_diffs, as_json=True) + html_chips, html_blocks, html_more = _render_diff_section(dir1, dir2, html_diffs, as_json=False) + + is_identical = byte_different == 0 and not pixel_different + if is_identical: + summary = ( + f'The render outputs in {dir1.name} and ' + f'{dir2.name} are byte-identical across all ' + f'{total_files} compared files.' + ) + else: + summary = ( + f'{byte_different} of {total_files} compared files differ ' + f'between {dir1.name} and {dir2.name}' + + (f', including {len(pixel_different)} PNG(s) with pixel differences' if pixel_different else '') + + '. See the sections above for details.' + ) + + html = f""" + + + + + Render Comparison Report: {dir1.name} vs {dir2.name} + + + +
+
+
Automated Diff & Visual Verification
+

Render Comparison Report

+
Comparing directory {dir1.name} against {dir2.name}
+
+ +
+
+
Visual Pixel Match
+
{pixel_pct:.1f}%
+
{pixel_identical} / {png_total} rendered PNGs pixel-identical
+
+
+
Total Files Analyzed
+
{total_files:,}
+
{byte_identical:,} identical, {byte_different:,} modified
+
+
+
JSON Document Diffs
+
{len(json_diffs)} Files
+
of {total_files} files compared
+
+
+
HTML Render Diffs
+
{len(html_diffs)} Files
+
of {total_files} files compared
+
+
+ +
+
+ 1. Rendered Images Pixel Analysis (png/) + {pixel_identical} / {png_total} Verified +
+
+

A full pixel-by-pixel bounding-box comparison was executed across all {png_total} PNG files present in both directories.

+ {pixel_diff_table} +
+
+ +
+
+ 2. JSON Document Diffs ({len(json_diffs)} Files) +
+
+ {"

No JSON differences found.

" if not json_diffs else f''' +

Unified diffs of pretty-printed, key-sorted JSON for up to 5 of the {len(json_diffs)} differing files:

+ {json_blocks} + {json_more} +
+ All differing files: +
{json_chips}
+
+ '''} +
+
+ +
+
+ 3. HTML Render Diffs ({len(html_diffs)} Files) +
+
+ {"

No HTML differences found.

" if not html_diffs else f''' +

Unified diffs for up to 5 of the {len(html_diffs)} differing files:

+ {html_blocks} + {html_more} +
+ All differing files: +
{html_chips}
+
+ '''} +
+
+ +
+

Summary

+

{summary}

+
+
+ + +""" + output_path.write_text(html, encoding='utf-8') + + +def main(): + parser = argparse.ArgumentParser(description="Compare two render directories.") + parser.add_argument( + "dir1", + type=Path, + help="First render directory" + ) + parser.add_argument( + "dir2", + type=Path, + help="Second render directory" + ) + parser.add_argument( + "--report-html", + type=Path, + default=None, + help="Path to write an HTML comparison report to (none by default)" + ) + + args = parser.parse_args() + compare_directories(args.dir1, args.dir2, args.report_html) + + +if __name__ == "__main__": + main() diff --git a/src/test/script/gen-renders-page.mjs b/src/test/script/gen-renders-page.mjs index 2c79c651..3ccccca1 100644 --- a/src/test/script/gen-renders-page.mjs +++ b/src/test/script/gen-renders-page.mjs @@ -75,6 +75,13 @@ export async function renderTTMLInBrowser(browserProduct, fn) { await page.setRequestInterception(true); page.on("request", (request) => { + // data: URIs (embedded images, generated SVGs) are self-contained + // and don't need serving from disk; let the browser handle them. + if (!request.url().startsWith("http://gen-renders.local")) { + request.continue(); + return; + } + const urlPath = decodeURIComponent(new URL(request.url()).pathname); const filePath = path.join(PUBLIC_DIR, urlPath); From 130fd89d94b8bed64fcbdf0286bfe8e296167616 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Wed, 2 Sep 2026 08:26:41 -0700 Subject: [PATCH 10/10] Improved compare_renders.py configuration and output --- src/test/script/compare_renders.py | 450 +++++++++-------------------- 1 file changed, 136 insertions(+), 314 deletions(-) diff --git a/src/test/script/compare_renders.py b/src/test/script/compare_renders.py index f3116773..aba66a2e 100755 --- a/src/test/script/compare_renders.py +++ b/src/test/script/compare_renders.py @@ -8,7 +8,8 @@ 2. Byte-level diffs and PNG chunk inspection 3. 100% pixel-by-pixel image verification using PIL 4. JSON and HTML structural diff analysis - 5. Standalone HTML comparison report generation + 5. Markdown comparison report generation, with per-file PNG diff images + and TXT diff files written alongside the report """ import argparse @@ -20,11 +21,12 @@ from pathlib import Path try: - from PIL import Image, ImageChops + from PIL import Image, ImageChops, ImageOps except ImportError: print("Warning: PIL not found. Pixel-level PNG comparison will be skipped.") Image = None ImageChops = None + ImageOps = None def parse_png_chunks(data: bytes): @@ -41,7 +43,13 @@ def parse_png_chunks(data: bytes): return chunks -def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None): +def _flatten_name(rel: Path) -> str: + """Turns a relative path into a filesystem-safe flat name, e.g. + 'a/b/c.png' -> 'a__b__c.png'.""" + return str(rel).replace('/', '__').replace('\\', '__') + + +def compare_directories(dir1: Path, dir2: Path, report_dir: Path): print(f"Comparing:") print(f" Directory 1: {dir1}") print(f" Directory 2: {dir2}\n") @@ -91,10 +99,13 @@ def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None) for ext, count in diff_by_ext.items(): print(f" {ext or '[no ext]':10}: {count} modified") + report_dir.mkdir(parents=True, exist_ok=True) + # PNG Pixel Comparison png_files = [f for f in common if f.suffix.lower() == '.png'] print(f"\n=== PNG Pixel Comparison ({len(png_files)} files) ===") pixel_identical = 0 + # Each entry: (rel_path, reason, diff_image_relpath_or_None) pixel_different = [] if Image is not None: @@ -105,7 +116,8 @@ def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None) im2 = Image.open(p2) if im1.size != im2.size or im1.mode != im2.mode: - pixel_different.append((p, f"Dimension/mode mismatch: {im1.size}/{im1.mode} vs {im2.size}/{im2.mode}")) + reason = f"Dimension/mode mismatch: {im1.size}/{im1.mode} vs {im2.size}/{im2.mode}" + pixel_different.append((p, reason, None)) continue diff = ImageChops.difference(im1, im2) @@ -113,13 +125,17 @@ def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None) if bbox is None: pixel_identical += 1 else: - pixel_different.append((p, f"Non-zero bounding box diff: {bbox}")) + reason = f"Non-zero bounding box diff: {bbox}" + visible_diff = ImageOps.autocontrast(diff.convert('RGB')) if ImageOps else diff + diff_filename = f"{_flatten_name(p)}.diff.png" + visible_diff.save(report_dir / diff_filename) + pixel_different.append((p, reason, diff_filename)) if png_files: print(f"Pixel Identical: {pixel_identical} / {len(png_files)} ({pixel_identical/len(png_files)*100:.1f}%)") print(f"Pixel Different: {len(pixel_different)}") if pixel_different: - for p, reason in pixel_different[:10]: + for p, reason, _ in pixel_different[:10]: print(f" - {p}: {reason}") else: print("Skipping pixel analysis (PIL not installed).") @@ -138,26 +154,21 @@ def compare_directories(dir1: Path, dir2: Path, generate_html_path: Path = None) for h in html_diffs: print(f" - {h}") - # Generate HTML Report if requested - if generate_html_path: - generate_html_report( - dir1=dir1, - dir2=dir2, - output_path=generate_html_path, - total_files=len(common), - byte_identical=len(byte_identical), - byte_different=len(byte_different), - png_total=len(png_files), - pixel_identical=pixel_identical, - pixel_different=pixel_different, - json_diffs=json_diffs, - html_diffs=html_diffs, - ) - print(f"\nHTML report successfully written to: {generate_html_path}") - - -def _html_escape(text: str) -> str: - return text.replace('&', '&').replace('<', '<').replace('>', '>') + # Generate Markdown Report + report_path = generate_markdown_report( + dir1=dir1, + dir2=dir2, + report_dir=report_dir, + total_files=len(common), + byte_identical=len(byte_identical), + byte_different=len(byte_different), + png_total=len(png_files), + pixel_identical=pixel_identical, + pixel_different=pixel_different, + json_diffs=json_diffs, + html_diffs=html_diffs, + ) + print(f"\nMarkdown report successfully written to: {report_path}") def _read_lines(path: Path): @@ -177,301 +188,111 @@ def _json_pretty_lines(path: Path): return _read_lines(path) -def _unified_diff_html(lines1, lines2, max_lines=60): - """Renders a unified diff between two line lists as highlighted HTML.""" - diff = [ - line for line in difflib.unified_diff(lines1, lines2, lineterm='') - if not (line.startswith('---') or line.startswith('+++')) - ] - truncated = len(diff) > max_lines - diff = diff[:max_lines] - - rendered = [] - for line in diff: - escaped = _html_escape(line) - if line.startswith('+'): - rendered.append(f'{escaped}') - elif line.startswith('-'): - rendered.append(f'{escaped}') - else: - rendered.append(escaped) - - body = "\n".join(rendered) if rendered else "(no textual differences)" - if truncated: - body += "\n... (diff truncated)" - return body - - -def _render_diff_section(dir1, dir2, files, max_samples=5, as_json=False): - """Builds a chip list of every diffed file, plus real unified diffs for - up to max_samples of them, read from dir1/dir2.""" - chips = "".join(f'{_html_escape(str(f))}' for f in files) - - blocks = [] - for f in files[:max_samples]: - p1, p2 = dir1 / f, dir2 / f - lines1 = _json_pretty_lines(p1) if as_json else _read_lines(p1) - lines2 = _json_pretty_lines(p2) if as_json else _read_lines(p2) - diff_html = _unified_diff_html(lines1, lines2) - blocks.append(f''' -
-
{_html_escape(str(f))}
-
{diff_html}
-
''') - - remaining = len(files) - len(files[:max_samples]) - more_note = ( - f'

' - f'... and {remaining} more file(s) not shown.

' - if remaining > 0 else "" - ) - - return chips, "".join(blocks), more_note - - -def generate_html_report(dir1, dir2, output_path, total_files, byte_identical, byte_different, - png_total, pixel_identical, pixel_different, json_diffs, html_diffs): - """Generates a responsive, modern HTML comparison report reflecting the - actual differences found between dir1 and dir2.""" - +def _write_unified_diff_txt(dir1, dir2, rel, output_path, as_json=False): + """Writes a unified diff between dir1/rel and dir2/rel to output_path as + plain text.""" + p1, p2 = dir1 / rel, dir2 / rel + lines1 = _json_pretty_lines(p1) if as_json else _read_lines(p1) + lines2 = _json_pretty_lines(p2) if as_json else _read_lines(p2) + diff = list(difflib.unified_diff( + lines1, lines2, + fromfile=str(dir1 / rel), tofile=str(dir2 / rel), lineterm='' + )) + body = "\n".join(diff) if diff else "(no textual differences)" + output_path.write_text(body + "\n", encoding='utf-8') + + +def _write_diff_files(dir1, dir2, report_dir, files, as_json=False): + """Writes a TXT unified diff file per entry in `files` into report_dir, + returning a list of (rel_path, diff_filename).""" + entries = [] + for rel in files: + diff_filename = f"{_flatten_name(rel)}.diff.txt" + _write_unified_diff_txt(dir1, dir2, rel, report_dir / diff_filename, as_json=as_json) + entries.append((rel, diff_filename)) + return entries + + +def generate_markdown_report(dir1, dir2, report_dir, total_files, byte_identical, byte_different, + png_total, pixel_identical, pixel_different, json_diffs, html_diffs): + """Generates a Markdown comparison report reflecting the actual + differences found between dir1 and dir2, writing it to report_dir / + 'report.md'. PNG diff images (.png) and text diffs (.txt) are written as + separate files into report_dir and linked to from the report. Returns + the path to the written report.""" + + output_path = report_dir / "report.md" pixel_pct = (pixel_identical / png_total * 100) if png_total else 100.0 - pixel_color = "var(--accent-green)" if not pixel_different else "var(--accent-yellow)" - pixel_diff_rows = "".join( - f'{_html_escape(str(p))}{_html_escape(reason)}' - for p, reason in pixel_different[:20] - ) - pixel_diff_table = f''' - - - {pixel_diff_rows} -
FileDifference
''' if pixel_different else "" - - json_chips, json_blocks, json_more = _render_diff_section(dir1, dir2, json_diffs, as_json=True) - html_chips, html_blocks, html_more = _render_diff_section(dir1, dir2, html_diffs, as_json=False) + json_entries = _write_diff_files(dir1, dir2, report_dir, json_diffs, as_json=True) + html_entries = _write_diff_files(dir1, dir2, report_dir, html_diffs, as_json=False) is_identical = byte_different == 0 and not pixel_different if is_identical: summary = ( - f'The render outputs in {dir1.name} and ' - f'{dir2.name} are byte-identical across all ' - f'{total_files} compared files.' + f"The render outputs in `{dir1.name}` and `{dir2.name}` are byte-identical " + f"across all {total_files} compared files." ) else: summary = ( - f'{byte_different} of {total_files} compared files differ ' - f'between {dir1.name} and {dir2.name}' - + (f', including {len(pixel_different)} PNG(s) with pixel differences' if pixel_different else '') - + '. See the sections above for details.' + f"**{byte_different}** of **{total_files}** compared files differ between " + f"`{dir1.name}` and `{dir2.name}`" + + (f", including **{len(pixel_different)}** PNG(s) with pixel differences" if pixel_different else "") + + ". See the sections below for details." ) - html = f""" - - - - - Render Comparison Report: {dir1.name} vs {dir2.name} - - - -
-
-
Automated Diff & Visual Verification
-

Render Comparison Report

-
Comparing directory {dir1.name} against {dir2.name}
-
- -
-
-
Visual Pixel Match
-
{pixel_pct:.1f}%
-
{pixel_identical} / {png_total} rendered PNGs pixel-identical
-
-
-
Total Files Analyzed
-
{total_files:,}
-
{byte_identical:,} identical, {byte_different:,} modified
-
-
-
JSON Document Diffs
-
{len(json_diffs)} Files
-
of {total_files} files compared
-
-
-
HTML Render Diffs
-
{len(html_diffs)} Files
-
of {total_files} files compared
-
-
- -
-
- 1. Rendered Images Pixel Analysis (png/) - {pixel_identical} / {png_total} Verified -
-
-

A full pixel-by-pixel bounding-box comparison was executed across all {png_total} PNG files present in both directories.

- {pixel_diff_table} -
-
- -
-
- 2. JSON Document Diffs ({len(json_diffs)} Files) -
-
- {"

No JSON differences found.

" if not json_diffs else f''' -

Unified diffs of pretty-printed, key-sorted JSON for up to 5 of the {len(json_diffs)} differing files:

- {json_blocks} - {json_more} -
- All differing files: -
{json_chips}
-
- '''} -
-
- -
-
- 3. HTML Render Diffs ({len(html_diffs)} Files) -
-
- {"

No HTML differences found.

" if not html_diffs else f''' -

Unified diffs for up to 5 of the {len(html_diffs)} differing files:

- {html_blocks} - {html_more} -
- All differing files: -
{html_chips}
-
- '''} -
-
- -
-

Summary

-

{summary}

-
-
- - -""" - output_path.write_text(html, encoding='utf-8') + lines = [] + lines.append(f"# Render Comparison Report: {dir1.name} vs {dir2.name}") + lines.append("") + lines.append(f"Comparing directory `{dir1}` against `{dir2}`.") + lines.append("") + lines.append("## Summary") + lines.append("") + lines.append(f"- Total files compared: **{total_files}**") + lines.append(f"- Byte-identical: **{byte_identical}**") + lines.append(f"- Byte-different: **{byte_different}**") + lines.append(f"- PNG pixel-identical: **{pixel_identical} / {png_total}** ({pixel_pct:.1f}%)") + lines.append(f"- JSON document diffs: **{len(json_diffs)}**") + lines.append(f"- HTML render diffs: **{len(html_diffs)}**") + lines.append("") + + lines.append(f"## 1. Rendered Images Pixel Analysis (PNG) — {pixel_identical} / {png_total} identical") + lines.append("") + if not pixel_different: + lines.append("No pixel differences found.") + else: + lines.append("| File | Diff Image | Notes |") + lines.append("|---|---|---|") + for rel, reason, diff_relpath in pixel_different: + link = f"[view]({diff_relpath})" if diff_relpath else "(n/a)" + lines.append(f"| `{rel}` | {link} | {reason} |") + lines.append("") + + lines.append(f"## 2. JSON Document Diffs ({len(json_diffs)} files)") + lines.append("") + if not json_entries: + lines.append("No JSON differences found.") + else: + for rel, diff_filename in json_entries: + lines.append(f"- [`{rel}`]({diff_filename})") + lines.append("") + + lines.append(f"## 3. HTML Render Diffs ({len(html_diffs)} files)") + lines.append("") + if not html_entries: + lines.append("No HTML differences found.") + else: + for rel, diff_filename in html_entries: + lines.append(f"- [`{rel}`]({diff_filename})") + lines.append("") + + lines.append("## Summary") + lines.append("") + lines.append(summary) + lines.append("") + + output_path.write_text("\n".join(lines), encoding='utf-8') + return output_path def main(): @@ -487,14 +308,15 @@ def main(): help="Second render directory" ) parser.add_argument( - "--report-html", + "report_dir", type=Path, - default=None, - help="Path to write an HTML comparison report to (none by default)" + help="Directory to write the Markdown comparison report to (as 'report.md'), " + "along with the PNG diff images and TXT diff files it links to. " + "Created if it does not already exist." ) args = parser.parse_args() - compare_directories(args.dir1, args.dir2, args.report_html) + compare_directories(args.dir1, args.dir2, args.report_dir) if __name__ == "__main__":